mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 02:43:09 -06:00
remove origin field
This commit is contained in:
parent
6c1412de01
commit
23cf26bbbb
|
|
@ -83,10 +83,7 @@ func (t *OutputTypingEventConsumer) onMessage(msg *sarama.ConsumerMessage) error
|
||||||
names[i] = joined[i].ServerName
|
names[i] = joined[i].ServerName
|
||||||
}
|
}
|
||||||
|
|
||||||
edu := &gomatrixserverlib.EDU{
|
edu := &gomatrixserverlib.EDU{Type: ote.Event.Type}
|
||||||
Type: ote.Event.Type,
|
|
||||||
Origin: string(t.ServerName),
|
|
||||||
}
|
|
||||||
if edu.Content, err = json.Marshal(map[string]interface{}{
|
if edu.Content, err = json.Marshal(map[string]interface{}{
|
||||||
"room_id": ote.Event.RoomID,
|
"room_id": ote.Event.RoomID,
|
||||||
"user_id": ote.Event.UserID,
|
"user_id": ote.Event.UserID,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue