initial metadata: set room avatar
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
@@ -99,3 +99,7 @@ func InputPeerForPortalID(portalID networkid.PortalID) (tg.InputPeerClass, error
|
||||
panic("invalid peer type")
|
||||
}
|
||||
}
|
||||
|
||||
func MakeAvatarID(photoID int64) networkid.AvatarID {
|
||||
return networkid.AvatarID(strconv.FormatInt(photoID, 10))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user