Skip to content

Commit

Permalink
api: Make Subscription properties mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpengi committed Nov 15, 2023
1 parent 488de5f commit ce8a239
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/api/model/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -315,18 +315,18 @@ enum StreamPostPolicy{
class Subscription extends ZulipStream {
// final List<int> subscribers; // we register with includeSubscribers false

final bool? desktopNotifications;
final bool? emailNotifications;
final bool? wildcardMentionsNotify;
final bool? pushNotifications;
final bool? audibleNotifications;
bool? desktopNotifications;
bool? emailNotifications;
bool? wildcardMentionsNotify;
bool? pushNotifications;
bool? audibleNotifications;

final bool pinToTop;
bool pinToTop;

final bool isMuted;
bool isMuted;
// final bool? inHomeView; // deprecated; ignore

final String color;
String color;

Subscription({
required super.streamId,
Expand Down

0 comments on commit ce8a239

Please sign in to comment.