Skip to content

Commit

Permalink
fix(peers): UpdateUserPhoto to UpdateUser
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 29, 2022
1 parent ecb10ed commit d9255ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/peers/update.go
Expand Up @@ -82,7 +82,7 @@ func (m *Manager) applyUpdates(updates []tg.UpdateClass) {
m.needUpdate.add(userPeerID(update.UserID))
case *tg.UpdateUserName:
m.needUpdate.add(userPeerID(update.UserID))
case *tg.UpdateUserPhoto:
case *tg.UpdateUser:
m.needUpdate.add(userPeerID(update.UserID))
case *tg.UpdateUserPhone:
m.needUpdate.add(userPeerID(update.UserID))
Expand Down

0 comments on commit d9255ab

Please sign in to comment.