Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mautrix-amp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Tulir Asokan
mautrix-amp
Commits
ce002157
Commit
ce002157
authored
3 years ago
by
Tulir Asokan
Browse files
Options
Downloads
Patches
Plain Diff
Update dh-messages-api and print error if login fails
parent
30eda5cf
Branches
unpuppet
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2843
passed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mautrix_amp/commands/auth.py
+5
-3
5 additions, 3 deletions
mautrix_amp/commands/auth.py
puppet/dh-messages-api
+1
-1
1 addition, 1 deletion
puppet/dh-messages-api
with
6 additions
and
4 deletions
mautrix_amp/commands/auth.py
+
5
−
3
View file @
ce002157
...
...
@@ -51,6 +51,8 @@ async def login(evt: CommandEvent) -> None:
else
:
content
.
set_reply
(
evt
.
event_id
)
qr_event_id
=
await
evt
.
az
.
intent
.
send_message
(
evt
.
room_id
,
content
)
await
evt
.
reply
(
"
Successfully logged in
"
)
await
evt
.
sender
.
client
.
start
(
session_data
=
evt
.
sender
.
session_data
)
# await evt.sender.sync()
if
evt
.
sender
.
session_data
:
await
evt
.
reply
(
"
Successfully logged in
"
)
await
evt
.
sender
.
client
.
start
(
session_data
=
evt
.
sender
.
session_data
)
else
:
await
evt
.
reply
(
"
Failed to log in
"
)
This diff is collapsed.
Click to expand it.
dh-messages-api
@
f83d735f
Compare
3911f5e1
...
f83d735f
Subproject commit
3911f5e115c6856e568cf05d37c31dcc6c3ce7ef
Subproject commit
f83d735f684718e50e1e9fbdce0abe4ef2345365
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment