mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-12-23 16:08:48 -05:00
Don't write name into ServerInfo view (as there's no name)
This commit is contained in:
parent
6e99800a21
commit
b8043453bd
@ -54,9 +54,12 @@ public class MessageListAdapter extends BaseAdapter
|
||||
// Render channel name as first message in channel
|
||||
|
||||
// XXX: There will be no messages shown if channel is empty, why?
|
||||
Message header = new Message(conversation.getName());
|
||||
header.setColor(Message.COLOR_RED);
|
||||
messages.add(header.renderTextView(context));
|
||||
|
||||
if (conversation.getType() != Conversation.TYPE_SERVER) {
|
||||
Message header = new Message(conversation.getName());
|
||||
header.setColor(Message.COLOR_RED);
|
||||
messages.add(header.renderTextView(context));
|
||||
}
|
||||
|
||||
for (Message message : conversation.getHistory()) {
|
||||
messages.add(message.renderTextView(context));
|
||||
|
Loading…
Reference in New Issue
Block a user