status-go/protocol/protobuf/sync_settings.proto
Sale Djenic 1340a55c1d feat: backup profile data to waku and sync them from waku
Changes applied here introduce backing up profile data (display name and identity
images) to waku and fetch them from waku. Information about those data is sent
as a separate signal to a client via `sync.from.waku.profile` signal.

New signal `sync.from.waku.progress` is introduced which will be used to notify a client
about the progress of fetching data from waku.
2022-12-23 15:07:14 +01:00

39 lines
726 B
Protocol Buffer

syntax = "proto3";
option go_package = "./;protobuf";
package protobuf;
message SyncSetting {
Type type = 1;
uint64 clock = 2;
oneof value {
string value_string = 3;
bytes value_bytes = 4;
bool value_bool = 5;
int64 value_int64 = 6;
}
enum Type {
UNKNOWN = 0;
CURRENCY = 1;
GIF_RECENTS = 2;
GIF_FAVOURITES = 3;
MESSAGES_FROM_CONTACTS_ONLY = 4;
PREFERRED_NAME = 5;
PREVIEW_PRIVACY = 6;
PROFILE_PICTURES_SHOW_TO = 7;
PROFILE_PICTURES_VISIBILITY = 8;
SEND_STATUS_UPDATES = 9;
STICKERS_PACKS_INSTALLED = 10;
STICKERS_PACKS_PENDING = 11;
STICKERS_RECENT_STICKERS = 12;
DISPLAY_NAME = 13;
}
}
/* TODOs
LastBackup uint64
BackupEnabled bool
*/