Commit Graph

98 Commits (da0d2219d2bdde68165b16d51483357dd234ad1d)

Author SHA1 Message Date
Andrew Morgan da0d2219d2 Clean up direct_rooms access 6 years ago
Andrew Morgan 8265995498 Use python magic 6 years ago
Andrew Morgan c4cdafa81f Destructure account data tuple before use 6 years ago
Andrew Morgan 516456b763 Remove unnecessary null check 6 years ago
Andrew Morgan 6f3fda79ce Move room_tag declaration to be closer to its use 6 years ago
Andrew Morgan 0862d35b8e Move tag and direct state copying into separate function 6 years ago
Andrew Morgan 766a172b99 lint 6 years ago
Andrew Morgan c4875d8c76 Prevent duplicate room IDs in m.direct 6 years ago
Andrew Morgan 8086a5c05e Fix comments 6 years ago
Andrew Morgan 8c85f0833d tags, m.direct copying over correctly 6 years ago
Andrew Morgan 25d64a846a Fix typos 6 years ago
Richard van der Hoff a219ce8726
Use directory server for room joins (#3899) 6 years ago
Erik Johnston e21c368b8b Revert spurious change 6 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 6 years ago
Erik Johnston ce6db0e547 Choose state algorithm based on room version 6 years ago
Erik Johnston e42510ba63 Use new getters 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Michael Telatynski 94700e55fa
if inviter_display_name == ""||None then default to inviter MXID 7 years ago
Richard van der Hoff 757ed27258 Let users leave the server notice room after joining 7 years ago
Richard van der Hoff 08bfc48abf custom error code for not leaving server notices room 7 years ago
Richard van der Hoff 26305788fe Make sure we reject attempts to invite the notices user 7 years ago
Richard van der Hoff 88d3405332 fix missing yield for server_notices_room 7 years ago
Richard van der Hoff fed62e21ad Infrastructure for a server notices room 7 years ago
Richard van der Hoff 639480e14a Avoid creating events with huge numbers of prev_events 7 years ago
Richard van der Hoff f3ef60662f Return a 404 rather than a 500 on rejoining empty rooms 7 years ago
Erik Johnston 3f0f06cb31 Split RoomMemberWorkerHandler to separate file 7 years ago
Erik Johnston b27320b550 Implement RoomMemberWorkerHandler 7 years ago
Erik Johnston 350331d466 _remote_join and co take a requester 7 years ago
Erik Johnston 6dbebef141 Add missing param to docstrings 7 years ago
Erik Johnston 16adb11cc0 Correct import order 7 years ago
Erik Johnston 82f16faa78 Move user_*_room distributor stuff to master class 7 years ago
Erik Johnston b78717b87b Split RoomMemberHandler into base and master class 7 years ago
Erik Johnston ea3442c15c Add docstring 7 years ago
Erik Johnston 8b3573a8b2 Refactor get_or_register_3pid_guest 7 years ago
Erik Johnston 0f942f68c1 Factor out _remote_reject_invite in RoomMember 7 years ago
Erik Johnston 31becf4ac3 Make functions private that can be 7 years ago
Erik Johnston 265b993b8a Split replication layer into two 7 years ago
Erik Johnston d960d23830 Add missing yield during 3pid signature checks 7 years ago
Erik Johnston 529c026ac1 Move back to hs.is_mine 7 years ago
Erik Johnston 784f036306 Move RoomMemberHandler out of Handlers 7 years ago
Erik Johnston 3e1e69ccaf Update copyright 7 years ago
Erik Johnston 3fa362502c Update places where we create events 7 years ago
Erik Johnston ef045dcd71 Copy dict in update_membership too 7 years ago
David Baker f878e6f8af Spam checking: add the invitee to user_may_invite 7 years ago
David Baker 1e375468de pass room id too 7 years ago
David Baker c2c188b699 Federation was passing strings anyway 7 years ago
David Baker c46a0d7eb4 this shouldn't be debug 7 years ago
David Baker bd769a81e1 better logging 7 years ago
David Baker 41fd9989a2 Skip spam check for admin users 7 years ago
David Baker 84716d267c Allow spam checker to reject invites too 7 years ago