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 17, 2023
1 parent 89f3b78 commit c717f3d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/api/model/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -315,17 +315,17 @@ 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;

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

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

final String color;
String color;

Subscription({
required super.streamId,
Expand Down

0 comments on commit c717f3d

Please sign in to comment.