mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 13:46:21 +00:00
Added individual options to send and request delivery receipts
This commit is contained in:
@@ -106,7 +106,7 @@ buffer_mark_received(ProfBuff buffer, const char * const id)
|
||||
GSList *entries = buffer->entries;
|
||||
while (entries) {
|
||||
ProfBuffEntry *entry = entries->data;
|
||||
if (entry->receipt) {
|
||||
if (entry->receipt && g_strcmp0(entry->receipt->id, id) == 0) {
|
||||
if (!entry->receipt->received) {
|
||||
entry->receipt->received = TRUE;
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user