Skip to content

Commit

Permalink
fix(peers): change 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 7e84b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/peers/update.go
Original file line number Diff line number Diff line change
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 7e84b8d

Please sign in to comment.