Skip to content

Commit

Permalink
Merge pull request #2283 from aberenguel/#2282_telegram_megagroups
Browse files Browse the repository at this point in the history
#2282: Telegram chat with flag 'megagroup' decoded as groups
  • Loading branch information
lfcnassif authored Aug 8, 2024
2 parents 6107381 + 803f8bb commit 69089c1
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 69089c1

Please sign in to comment.