Closed pavelz closed 4 years ago
One more request if possible:
Would you mind fixing https://github.com/shazow/ssh-chat/blob/3b8e644c9e4d22ecb05a222ab6c0dfa7e04e9532/chat/message/user.go#L261 to use user.joined
if user.lastMsg
is zero-value?
to use
user.joined
ifuser.lastMsg
is zero-value? sure!
Current user is moved to the last item on the name lookup list.
Fixes #314.