mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Don't add a 'prev' key to m.room.member messages
This commit is contained in:
parent
03dc63f6c8
commit
415ddf59bb
@ -202,7 +202,6 @@ class ProfileHandler(BaseHandler):
|
|||||||
|
|
||||||
content = {
|
content = {
|
||||||
"membership": j.content["membership"],
|
"membership": j.content["membership"],
|
||||||
"prev": j.content["membership"],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
yield self.distributor.fire(
|
yield self.distributor.fire(
|
||||||
|
@ -364,9 +364,6 @@ class RoomMemberHandler(BaseHandler):
|
|||||||
target_user_id, event.room_id
|
target_user_id, event.room_id
|
||||||
)
|
)
|
||||||
|
|
||||||
if prev_state:
|
|
||||||
event.content["prev"] = prev_state.membership
|
|
||||||
|
|
||||||
room_id = event.room_id
|
room_id = event.room_id
|
||||||
|
|
||||||
# If we're trying to join a room then we have to do this differently
|
# If we're trying to join a room then we have to do this differently
|
||||||
|
Loading…
Reference in New Issue
Block a user