Copy other user's matrix ID instead of room id for direct messages

Implements #469
This commit is contained in:
Tobias Fella
2023-02-17 20:58:47 +01:00
parent 2bd4579c10
commit 8996806b05
3 changed files with 10 additions and 2 deletions

View File

@@ -1829,3 +1829,7 @@ int NeoChatRoom::maxRoomVersion() const
}
return maxVersion;
}
NeoChatUser *NeoChatRoom::directChatRemoteUser() const
{
return dynamic_cast<NeoChatUser *>(connection()->directChatUsers(this)[0]);
}