Skip to content

Commit 1a0db39

Browse files
committed
Remove from auth request
1 parent 1b9e513 commit 1a0db39

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

fishjam/server_notifications.proto

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,7 @@ message ServerMessage {
6464
message Authenticated {}
6565

6666
// Request sent by peer, to authenticate to FJ server
67-
message AuthRequest {
68-
string token = 1;
69-
// If true, the server may deliver NotificationBatch in addition to
70-
// single-notification ServerMessages. Defaults to false for websocket and
71-
// old peers.
72-
bool supports_notification_batch = 2;
73-
}
67+
message AuthRequest { string token = 1; }
7468

7569
// Defines message groups for which peer can subscribe
7670
enum EventType {
@@ -249,8 +243,7 @@ message ServerMessage {
249243
// them in order.
250244
// - The batch is wire-atomic but not semantically atomic: emitting two
251245
// batches vs. one batch of the same elements is equivalent.
252-
// - Sent only to peers that opted in via
253-
// AuthRequest.supports_notification_batch.
246+
// - Sent only to peers that opted in
254247
message NotificationBatch { repeated ServerMessage notifications = 1; }
255248

256249
reserved 12;

0 commit comments

Comments
 (0)