diff options
author | bytepoets-blo <lukas.bloder@bytepoets.com> | 2019-05-17 18:27:14 +0200 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2019-05-17 17:27:14 +0100 |
commit | 291e1eea5eab04df79ad607ca23fb421f11a63ff (patch) | |
tree | a094b1b03cd376a85a705e749dd3b92faecbfba4 | |
parent | Merge pull request #5191 from matrix-org/erikj/refactor_pagination_bounds (diff) | |
download | synapse-291e1eea5eab04df79ad607ca23fb421f11a63ff.tar.xz |
fix mapping of return values for get_or_register_3pid_guest (#5177)
* fix mapping of return values for get_or_register_3pid_guest
-rw-r--r-- | changelog.d/5177.bugfix | 1 | ||||
-rw-r--r-- | synapse/handlers/room_member.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/5177.bugfix b/changelog.d/5177.bugfix new file mode 100644 index 0000000000..c2f1644ae5 --- /dev/null +++ b/changelog.d/5177.bugfix @@ -0,0 +1 @@ +Fix 3pid guest invites. diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index ffc588d454..93ac986c86 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -944,7 +944,7 @@ class RoomMemberHandler(object): } if self.config.invite_3pid_guest: - guest_access_token, guest_user_id = yield self.get_or_register_3pid_guest( + guest_user_id, guest_access_token = yield self.get_or_register_3pid_guest( requester=requester, medium=medium, address=address, |