diff options
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Account.java | 2 | ||||
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Presences.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Account.java b/src/main/java/de/pixart/messenger/entities/Account.java index 4907d26b6..437dfa47a 100644 --- a/src/main/java/de/pixart/messenger/entities/Account.java +++ b/src/main/java/de/pixart/messenger/entities/Account.java @@ -183,7 +183,7 @@ public class Account extends AbstractEntity { case SESSION_FAILURE: return R.string.session_failure; case DOWNGRADE_ATTACK: - return R.string.downgrade_attack; + return R.string.sasl_downgrade; case HOST_UNKNOWN: return R.string.account_status_host_unknown; case POLICY_VIOLATION: diff --git a/src/main/java/de/pixart/messenger/entities/Presences.java b/src/main/java/de/pixart/messenger/entities/Presences.java index 3f3f670da..d57515392 100644 --- a/src/main/java/de/pixart/messenger/entities/Presences.java +++ b/src/main/java/de/pixart/messenger/entities/Presences.java @@ -144,6 +144,6 @@ public class Presences { } } } - return new Pair(typeMap, nameMap); + return new Pair<>(typeMap, nameMap); } } |