Skip to content

Commit

Permalink
Applied eac157d (SM fixes) from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Nov 2, 2018
1 parent 1fd9039 commit 2d5b30a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/psiaccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,10 @@ void PsiAccount::getErrorInfo(int err, AdvancedConnector *conn, Stream *stream,
else if(err == XMPP::ClientStream::ErrSecurityLayer) {
str = tr("Broken security layer (SASL)");
}
else if(err == XMPP::ClientStream::ErrSmResume) {
str = tr("Server refused to resume the session (SM)");
reconn = true;
}
else {
str = tr("None");
reconn = true;
Expand Down

0 comments on commit 2d5b30a

Please sign in to comment.