mediaid: fix receiver for groups

This commit is contained in:
Tulir Asokan 2024-11-06 17:15:03 +01:00
parent a55ba03fb2
commit 8e85d809fd

View file

@ -49,6 +49,9 @@ func MakeUserLoginID(user types.JID) networkid.UserLoginID {
}
func ParseUserLoginID(user networkid.UserLoginID, deviceID uint16) types.JID {
if user == "" {
return types.EmptyJID
}
return types.JID{
Server: types.DefaultUserServer,
User: string(user),