3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

restore RESUME SUCCESS message

This commit is contained in:
Shivaram Lingamneni 2019-05-22 15:08:02 -04:00
parent 851617a4a5
commit cf153c2b09

View File

@ -571,10 +571,10 @@ func (session *Session) playResume() {
}
if session.resumeDetails.HistoryIncomplete {
session.Send(nil, client.server.name, "RESUME", "WARN", "HISTORY_LOST", fmt.Sprintf(client.t("Resume may have lost up to %d seconds of history"), gapSeconds))
session.Send(nil, client.server.name, "WARN", "RESUME", "HISTORY_LOST", fmt.Sprintf(client.t("Resume may have lost up to %d seconds of history"), gapSeconds))
}
session.Send(nil, client.server.name, "RESUME", details.nick)
session.Send(nil, client.server.name, "RESUME", "SUCCESS", details.nick)
server.playRegistrationBurst(session)