|
|
@ -254,6 +254,11 @@
|
|
|
|
getReadReceiptSetting: () => storage.get('read-receipt-setting'),
|
|
|
|
getReadReceiptSetting: () => storage.get('read-receipt-setting'),
|
|
|
|
setReadReceiptSetting: value =>
|
|
|
|
setReadReceiptSetting: value =>
|
|
|
|
storage.put('read-receipt-setting', value),
|
|
|
|
storage.put('read-receipt-setting', value),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getLinkPreviewSetting: () => storage.get('linkPreviews', false),
|
|
|
|
|
|
|
|
setLinkPreviewSetting: value =>
|
|
|
|
|
|
|
|
storage.put('linkPreviews', value),
|
|
|
|
|
|
|
|
|
|
|
|
getNotificationSetting: () =>
|
|
|
|
getNotificationSetting: () =>
|
|
|
|
storage.get('notification-setting', 'message'),
|
|
|
|
storage.get('notification-setting', 'message'),
|
|
|
|
setNotificationSetting: value =>
|
|
|
|
setNotificationSetting: value =>
|
|
|
|