Skip to content

Commit

Permalink
sepinf-inc#2282: Telegram chat with flag 'megagroup' decoded as groups
Browse files Browse the repository at this point in the history
  • Loading branch information
aberenguel committed Aug 7, 2024
1 parent 6107381 commit 803f8bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected List<Chat> extractChatList() throws Exception {
ChatGroup group = new ChatGroup(chatId, cont, chatName);

Map<String, Object> m = androidDecoder.getAlltMetadata();
if ("true".equals(m.get("broadcast")) || "true".equals(m.get("megagroup"))) {
if ("true".equals(m.get("broadcast"))) {
group.setGroup(false);
group.setChannel(true);
}
Expand Down

0 comments on commit 803f8bb

Please sign in to comment.