Change summary
src/main/java/eu/siacs/conversations/services/NotificationService.java | 3
1 file changed, 3 insertions(+)
Detailed changes
@@ -1376,6 +1376,9 @@ public class NotificationService {
mBuilder.setSmallIcon(R.drawable.ic_notification);
mBuilder.setDeleteIntent(createDeleteIntent(conversation));
mBuilder.setContentIntent(createContentIntent(conversation));
+ if (mXmppConnectionService.getAccounts().size() > 1) {
+ mBuilder.setSubText(conversation.getAccount().getJid().asBareJid().toString());
+ }
ShortcutInfoCompat info = mXmppConnectionService.getShortcutService().getShortcutInfoCompat(conversation.getContact());
mBuilder.setShortcutInfo(info);