diff --git a/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_file_incoming_state_cancel.java b/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_file_incoming_state_cancel.java index 52876254..5f3072d4 100644 --- a/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_file_incoming_state_cancel.java +++ b/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_file_incoming_state_cancel.java @@ -170,6 +170,15 @@ public void bindMessageList(GroupMessage m) message__text = "Private Message:\n" + m.text; } + if (m.tox_group_peer_role == ToxVars.Tox_Group_Role.TOX_GROUP_ROLE_FOUNDER.value) + { + // TODO: make something nice looking here // message__text = "*Founder Message*\n" + message__text; + } + else if (m.tox_group_peer_role == ToxVars.Tox_Group_Role.TOX_GROUP_ROLE_MODERATOR.value) + { + // TODO: make something nice looking here // message__text = "+Moderator Message+\n" + message__text; + } + String message__tox_peername = m.tox_group_peername; String message__tox_peerpubkey = m.tox_group_peer_pubkey; diff --git a/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_text_incoming_not_read.java b/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_text_incoming_not_read.java index 70e25de1..09aa04ac 100644 --- a/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_text_incoming_not_read.java +++ b/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/GroupMessageListHolder_text_incoming_not_read.java @@ -131,6 +131,15 @@ public void bindMessageList(GroupMessage m) message__text = "Private Message:\n" + m.text; } + if (m.tox_group_peer_role == ToxVars.Tox_Group_Role.TOX_GROUP_ROLE_FOUNDER.value) + { + // TODO: make something nice looking here // message__text = "*Founder Message*\n" + message__text; + } + else if (m.tox_group_peer_role == ToxVars.Tox_Group_Role.TOX_GROUP_ROLE_MODERATOR.value) + { + // TODO: make something nice looking here // message__text = "+Moderator Message+\n" + message__text; + } + String message__tox_peername = m.tox_group_peername; String message__tox_peerpubkey = m.tox_group_peer_pubkey;