mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 02:29:28 +02:00
add verified-group-type
This commit is contained in:
parent
06279a6f7b
commit
88019229de
11 changed files with 35 additions and 17 deletions
|
@ -705,8 +705,10 @@ char* mrmailbox_cmdline(mrmailbox_t* mailbox, const char* cmdline)
|
|||
|
||||
char* temp_subtitle = mrchat_get_subtitle(chat);
|
||||
char* temp_name = mrchat_get_name(chat);
|
||||
int chat_type = mrchat_get_type(chat);
|
||||
const char* verified = mrchat_is_verified(chat)? " √√": "";
|
||||
mrmailbox_log_info(mailbox, 0, "%s#%i: %s%s [%s] [%i fresh]", mrchat_get_type(chat)==MR_CHAT_TYPE_GROUP? "Groupchat" : "Chat",
|
||||
mrmailbox_log_info(mailbox, 0, "%s#%i: %s%s [%s] [%i fresh]",
|
||||
chat_type==MR_CHAT_TYPE_VERIFIED_GROUP? "VerifiedGroup" : (chat_type==MR_CHAT_TYPE_GROUP? "Group" : "Chat"),
|
||||
(int)mrchat_get_id(chat), temp_name, verified, temp_subtitle, (int)mrmailbox_get_fresh_msg_count(mailbox, mrchat_get_id(chat)));
|
||||
free(temp_subtitle);
|
||||
free(temp_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue