diff --git a/res/values/strings.xml b/res/values/strings.xml
index be76c1408..8d976dcef 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -259,5 +259,7 @@
Received masseges will be marked with a green tick. Be aware that this might no work in every case.
Colorize send button to indicate contact status
Other
+ Conference name
+ Use room’s subject instead of JID to identify conferences
-
+
\ No newline at end of file
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 3dab09592..024335f15 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -63,6 +63,11 @@
android:title="@string/pref_notification_grace_period" />
+
{
}
TextView convName = (TextView) view
.findViewById(R.id.conversation_name);
- convName.setText(conv.getName());
+ if (conv.getMode() == Conversation.MODE_SINGLE || activity.useSubjectToIdentifyConference()) {
+ convName.setText(conv.getName());
+ } else {
+ convName.setText(conv.getContactJid().split("/")[0]);
+ }
TextView convLastMsg = (TextView) view
.findViewById(R.id.conversation_lastmsg);
ImageView imagePreview = (ImageView) view