Skip to content

Commit

Permalink
small formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Elia Doumerc committed Jul 12, 2024
1 parent 1fad196 commit 4d9f20d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ handleMessageEvent: anEvent

| message |
message := anEvent at: 'message'.
self chatsHandler handleNewMessage: message
self chatsHandler handleNewMessage: message.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ handlePendingEvent: anEvent
| callbackId |
callbackId := anEvent at: '@extra'.
(self pendingRequests at: callbackId) value: anEvent.
self pendingRequests removeKey: callbackId ifAbsent: []
self pendingRequests removeKey: callbackId ifAbsent: [].
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
pendingRequests: aDictionary

pendingRequests := aDictionary
pendingRequests := aDictionary.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sending
send: aRequest

self client send: aRequest
self client send: aRequest.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
sending
send: aRequest thenDo: aBlock

| callbackId |

callbackId := self registerCallback: aBlock.
aRequest at: '@extra' put: callbackId.
self send: aRequest
aRequest at: '@extra' put: (self registerCallback: aBlock).
self send: aRequest.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ tryHandleError: anError
otherwise: [
((anError at: 'message') beginsWith: 'Can''t lock file')
ifTrue: [UIManager default inform: TCCErrorConstants tdlibAlreadyInUse]
ifFalse: [self halt: 'An Error Occured. Check Transcript Output.']].
ifFalse: [self halt: 'An Error Occured. Check Transcript Output.']
].
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"generateCallbackId" : "pk 8/5/2021 17:04",
"getOwnProfile" : "pk 8/5/2021 17:05",
"handleEvent:" : "JK 5/16/2024 22:13",
"handleMessageEvent:" : "rgw 5/12/2022 13:44",
"handlePendingEvent:" : "per 8/2/2021 15:05",
"handleMessageEvent:" : "ED 7/12/2024 14:58",
"handlePendingEvent:" : "ED 7/12/2024 14:58",
"imageStore" : "pk 6/19/2021 17:15",
"imageStore:" : "TR 6/22/2021 09:33",
"initialize" : "JK 7/12/2024 12:55",
Expand All @@ -30,17 +30,17 @@
"loggedInUserId" : "pk 8/5/2021 17:04",
"loggedInUserId:" : "pk 8/5/2021 17:04",
"pendingRequests" : "pk 5/13/2021 09:46",
"pendingRequests:" : "pk 5/13/2021 09:46",
"pendingRequests:" : "ED 7/12/2024 14:59",
"receiveLoop" : "rgw 7/24/2022 14:56",
"registerCallback:" : "pk 8/5/2021 17:04",
"searchChat:" : "pk 8/5/2021 16:39",
"send:" : "rgw 6/2/2022 09:43",
"send:thenDo:" : "rgw 6/2/2022 09:46",
"send:" : "ED 7/12/2024 14:59",
"send:thenDo:" : "ED 7/12/2024 15:00",
"sendPhoneNumber:" : "RS 7/31/2021 15:57",
"setUserId:" : "pk 8/5/2021 17:05",
"stickerStore" : "JK 5/16/2024 21:25",
"stickerStore:" : "JK 5/16/2024 21:25",
"tryHandleError:" : "aka 5/21/2022 12:07",
"tryHandleError:" : "ED 7/12/2024 15:01",
"update" : "TU 6/28/2024 03:18",
"userStore" : "per 7/15/2021 12:56",
"userStore:" : "tr 7/25/2021 17:57",
Expand Down

0 comments on commit 4d9f20d

Please sign in to comment.