Fix legacy EDU handling
This commit is contained in:
parent
c7aa4ff338
commit
3851fdcded
|
@ -194,11 +194,8 @@ func (puppet *Puppet) ProcessResponse(resp *mautrix.RespSync, _ string) error {
|
|||
return nil
|
||||
}
|
||||
for roomID, events := range resp.Rooms.Join {
|
||||
portal := puppet.bridge.GetPortalByMXID(roomID)
|
||||
if portal == nil || portal.IsBroadcastList() {
|
||||
continue
|
||||
}
|
||||
for _, evt := range events.Ephemeral.Events {
|
||||
evt.RoomID = roomID
|
||||
err := evt.Content.ParseRaw(evt.Type)
|
||||
if err != nil {
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue