Added basic delivery receipts

This commit is contained in:
James Booth
2015-03-11 23:18:28 +00:00
parent e5bb12a0d6
commit 78becceedb
10 changed files with 158 additions and 37 deletions

View File

@@ -543,6 +543,7 @@ _get_group(preference_t pref)
case PREF_CONNECT_ACCOUNT:
case PREF_DEFAULT_ACCOUNT:
case PREF_CARBONS:
case PREF_RECEIPTS:
return PREF_GROUP_CONNECTION;
case PREF_OTR_LOG:
case PREF_OTR_POLICY:
@@ -579,6 +580,8 @@ _get_key(preference_t pref)
return "history";
case PREF_CARBONS:
return "carbons";
case PREF_RECEIPTS:
return "receipts";
case PREF_MOUSE:
return "mouse";
case PREF_OCCUPANTS:
@@ -730,4 +733,4 @@ _get_default_string(preference_t pref)
default:
return NULL;
}
}
}

View File

@@ -60,6 +60,7 @@ typedef enum {
PREF_INTYPE,
PREF_HISTORY,
PREF_CARBONS,
PREF_RECEIPTS,
PREF_MOUSE,
PREF_OCCUPANTS,
PREF_OCCUPANTS_SIZE,