aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-02-24 20:55:10 +0100
committerChristian Schneppe <christian@pix-art.de>2017-02-24 20:55:10 +0100
commit7e206d0039fbe843439ccd5894ea0dbaf56354e1 (patch)
tree739a34eeaa811ff76833aebf61482f469fe35c76 /src/main
parent64afa7232b9209c5bccccea9dba2c5f7f79ba377 (diff)
show resource in brackets
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Presences.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Presences.java b/src/main/java/de/pixart/messenger/entities/Presences.java
index 1565cfe12..3f3f670da 100644
--- a/src/main/java/de/pixart/messenger/entities/Presences.java
+++ b/src/main/java/de/pixart/messenger/entities/Presences.java
@@ -59,7 +59,7 @@ public class Presences {
while (it.hasNext()) {
Map.Entry<String, Presence> entry = it.next();
if (entry.getValue().equals(p)) {
- return entry.getKey();
+ return "(" + entry.getKey() + ")";
}
}
return "";