소스 검색

Fix bug with cross-room status replies

Tulir Asokan 2 년 전
부모
커밋
fd83ea8c0a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      portal.go

+ 1 - 1
portal.go

@@ -1894,7 +1894,7 @@ func (portal *Portal) SetReply(content *event.MessageEventContent, replyTo *Repl
 	if portal.bridge.Config.Bridge.CrossRoomReplies && !replyTo.Chat.IsEmpty() && replyTo.Chat != key.JID {
 		if replyTo.Chat.Server == types.GroupServer {
 			key = database.NewPortalKey(replyTo.Chat, types.EmptyJID)
-		} else if replyTo.Chat == types.BroadcastServerJID {
+		} else if replyTo.Chat == types.StatusBroadcastJID {
 			key = database.NewPortalKey(replyTo.Chat, key.Receiver)
 		}
 		if key != portal.Key {