Successful two way communication in direct chats

This commit is contained in:
2023-09-11 16:44:58 -05:00
parent 2074d45d9d
commit 22a9faa3ca
7 changed files with 46 additions and 18 deletions

View File

@@ -716,8 +716,6 @@ func (user *User) syncPortals(createAll bool) {
}
for _, dm := range user.ChatList {
portal := user.bridge.GetPortalByGMID(database.NewPortalKey(dm.OtherUser.ID, user.GMID))
portal.Name = dm.OtherUser.Name
portal.NameSet = true
chats = append(chats, Chat{
Portal: portal,