Skip to content

Commit

Permalink
Remove #on:when:do: extension and depend on Kernel-ct.1303 (inbox) in…
Browse files Browse the repository at this point in the history
…stead
  • Loading branch information
LinqLover committed Oct 9, 2020
1 parent baf57b0 commit 3c4bdde
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ installPreviewDependencies
(inbox 'WebClient-Core-ct.125') "UTF-8 conversion for multipart/form-data"
(inbox 'WebClient-Core-ct.127') "Moves WebClient utility methods to instance side"
(inbox 'Collections-ct.915') "Adds accessor and constructor for TextURL"
(inbox 'Kernel-ct.1303') "#on:satisfying:do:"
(inbox 'Graphics-ct.443') "storing an animated GIF file via AnimatedGIFReadWriter"

"Deprecate SyntaxErrorNotification >> #errorMessage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
},
"instance" : {
"baseline:" : "ct 10/8/2020 21:04",
"installPreviewDependencies" : "ct 10/9/2020 16:16",
"installPreviewDependencies" : "ct 10/9/2020 16:43",
"projectClass" : "ct 10/6/2020 22:50" } }

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ deferDuring: aBlock when: anotherBlock
deferred := nil.
^ [aBlock
on: self
when: anotherBlock
satisfying: anotherBlock
do: [:interrupt |
deferred := interrupt.
interrupt resume]]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"class" : {
"deferDuring:when:" : "ct 9/15/2020 08:16",
"deferDuring:when:" : "ct 10/9/2020 16:42",
"forBlock:" : "ct 9/14/2020 21:08",
"signal:" : "ct 9/29/2020 14:05" },
"instance" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ editMessage: oldMessage changeTo: newMessage
self error: 'Removing media from a message is currently not supported by the API. Try deleting the whole message instead, or exchange the media with a dummy object instead.'].
[self editMessage: oldMessage fromMediaMessage: newMessage]
on: TelegramBotError
when: [:ex | ex messageText includesSubstring: 'message is not modified:']
satisfying: [:ex | ex messageText includesSubstring: 'message is not modified:']
do: ["Old and new media are identical from the perspective of the API; well, that's not a problem. We could try to check this before, but EAFP > LBYL. See also this thread: http://forum.world.st/Overriding-in-Graphics-and-Sounds-td5122783.html"]].

self flag: #extend. "replyMarkup, liveLocation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"defaultTimeout" : "ct 9/29/2020 14:30",
"doOneCycle" : "ct 9/14/2020 20:51",
"doOneCycleNow" : "ct 9/15/2020 15:02",
"editMessage:changeTo:" : "ct 10/3/2020 17:48",
"editMessage:changeTo:" : "ct 10/9/2020 16:42",
"editMessage:fromMediaMessage:" : "ct 9/29/2020 18:04",
"editMessage:text:" : "ct 9/29/2020 16:04",
"getUpdates" : "ct 8/30/2020 15:54",
Expand Down

0 comments on commit 3c4bdde

Please sign in to comment.