mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Improve debug logging
Tell the user that a MAM request will be issued delayed instead of showing a warning that MAM isn't supported by the server. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
parent
638b15c6d9
commit
c0861eed49
@ -2728,9 +2728,11 @@ iq_mam_request(ProfChatWin* win, GDateTime* enddate)
|
||||
if (!received_disco_items) {
|
||||
LateDeliveryUserdata* cur_del_data = malloc(sizeof(LateDeliveryUserdata));
|
||||
cur_del_data->win = win;
|
||||
cur_del_data->enddate = g_date_time_ref(enddate);
|
||||
cur_del_data->startdate = g_date_time_ref(startdate);
|
||||
cur_del_data->enddate = enddate;
|
||||
cur_del_data->startdate = startdate;
|
||||
late_delivery_windows = g_slist_append(late_delivery_windows, cur_del_data);
|
||||
log_debug("Save MAM request of %s for later", win->barejid);
|
||||
return;
|
||||
}
|
||||
|
||||
_iq_mam_request(win, startdate, enddate);
|
||||
|
Loading…
Reference in New Issue
Block a user