-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
99 changed files
with
245 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/TelegramClient-Core.package/TCCMessage.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
super-dataclass for messages of all types | ||
super-dataclass for messages that can be created by users |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/TelegramClient-Core.package/TCCMessage.class/class/newMessageWith..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
instance creation | ||
json conversion | ||
newMessageWith: aJsonObject | ||
|
||
^ (aJsonObject at: '@type') caseOf: { | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/TelegramClient-Core.package/TCCMessage.class/instance/chat..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
chat: aChat | ||
|
||
chat := aChat. | ||
chat := aChat |
2 changes: 1 addition & 1 deletion
2
packages/TelegramClient-Core.package/TCCMessage.class/instance/id..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
id: aNumber | ||
|
||
id := aNumber. | ||
id := aNumber |
4 changes: 2 additions & 2 deletions
4
packages/TelegramClient-Core.package/TCCMessage.class/instance/isFirstMessageOfDay..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
isFirstMessageOfDay: aBool | ||
isFirstMessageOfDay: aBoolean | ||
|
||
isFirstMessageOfDay := aBool | ||
isFirstMessageOfDay := aBoolean |
4 changes: 2 additions & 2 deletions
4
packages/TelegramClient-Core.package/TCCMessage.class/instance/isLastMessageOfDay..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
isLastMessageOfDay: aBool | ||
isLastMessageOfDay: aBoolean | ||
|
||
isLastMessageOfDay := aBool | ||
isLastMessageOfDay := aBoolean |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
49 changes: 34 additions & 15 deletions
49
packages/TelegramClient-Core.package/TCCMessage.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,37 @@ | ||
{ | ||
"class" : { | ||
"newMessageWith:" : "LR 7/23/2022 10:44" }, | ||
"maxReplySnippetSize" : "rgw 5/12/2022 16:05", | ||
"newFromMessageEvent:in:with:" : "rgw 6/2/2022 09:01", | ||
"newMessageWith:" : "js 7/31/2022 09:28", | ||
"timeStampToDateAndTime:" : "JB 5/16/2021 09:42" }, | ||
"instance" : { | ||
"chat" : "aka 7/14/2022 16:41", | ||
"chat:" : "aka 7/14/2022 16:41", | ||
"chatId" : "aka 7/14/2022 16:41", | ||
"core" : "aka 7/14/2022 16:41", | ||
"core:" : "aka 7/14/2022 16:41", | ||
"date" : "aka 7/14/2022 16:40", | ||
"date:" : "aka 7/14/2022 16:40", | ||
"id" : "aka 7/14/2022 16:40", | ||
"id:" : "aka 7/14/2022 16:40", | ||
"initialize" : "7/22/2022 10:40:18", | ||
"isFirstMessageOfDay" : "7/22/2022 10:40:18", | ||
"isFirstMessageOfDay:" : "7/22/2022 10:40:18", | ||
"isLastMessageOfDay" : "7/22/2022 10:40:18", | ||
"isLastMessageOfDay:" : "7/22/2022 10:40:18" } } | ||
"asReplySnippet" : "rgw 5/12/2022 16:05", | ||
"asSnippet" : "rgw 7/21/2022 15:11", | ||
"asText" : "rgw 7/21/2022 15:11", | ||
"chat" : "js 7/31/2022 09:23", | ||
"chat:" : "js 7/31/2022 09:23", | ||
"chatId" : "js 7/31/2022 09:27", | ||
"core" : "js 7/31/2022 09:25", | ||
"core:" : "js 7/31/2022 09:25", | ||
"date" : "js 7/31/2022 09:24", | ||
"date:" : "js 7/31/2022 09:25", | ||
"id" : "js 7/31/2022 09:24", | ||
"id:" : "js 7/31/2022 09:24", | ||
"initialize" : "js 7/31/2022 09:27", | ||
"isFirstMessageOfDay" : "js 7/31/2022 09:26", | ||
"isFirstMessageOfDay:" : "js 7/31/2022 09:26", | ||
"isLastMessageOfDay" : "js 7/31/2022 09:26", | ||
"isLastMessageOfDay:" : "js 7/31/2022 09:26", | ||
"isOutgoing" : "js 8/2/2020 22:00", | ||
"isOutgoing:" : "pk 8/4/2021 11:42", | ||
"isReply" : "rgw 5/12/2022 15:40", | ||
"replyText" : "LR 6/5/2022 11:12", | ||
"replyToMessageId" : "rgw 5/12/2022 13:43", | ||
"replyToMessageId:" : "rgw 5/12/2022 13:43", | ||
"senderName" : "JS 6/11/2022 09:50", | ||
"senderType" : "tom.richter 7/25/2021 10:42", | ||
"senderType:" : "pk 8/4/2021 11:42", | ||
"senderUser" : "JS 6/11/2022 09:49", | ||
"shouldNotify" : "per 6/16/2021 17:35", | ||
"userId" : "tom.richter 7/25/2021 11:17", | ||
"userId:" : "pk 8/4/2021 11:42" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/TelegramClient-Core.package/TCCUserMessage.class/README.md
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
packages/TelegramClient-Core.package/TCCUserMessage.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
packages/TelegramClient-Core.package/TCCUserMessage.class/properties.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/TelegramClient-UI.package/TCUDayDividerMessageWrapper.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
wraps TCUDayDividerMessage to align it in the center of chatMessageList |
4 changes: 4 additions & 0 deletions
4
...egramClient-UI.package/TCUDayDividerMessageWrapper.class/class/defaultInvalidMessageId.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
default values | ||
defaultInvalidMessageId | ||
|
||
^ -1 |
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-UI.package/TCUDayDividerMessageWrapper.class/instance/messageId.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
messageId | ||
|
||
^ self class defaultInvalidMessageId |
5 changes: 5 additions & 0 deletions
5
packages/TelegramClient-UI.package/TCUDayDividerMessageWrapper.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"defaultInvalidMessageId" : "js 7/31/2022 10:42" }, | ||
"instance" : { | ||
"messageId" : "js 7/31/2022 10:41" } } |
14 changes: 14 additions & 0 deletions
14
packages/TelegramClient-UI.package/TCUDayDividerMessageWrapper.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "TelegramClient-UI", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "js 7/31/2022 10:37", | ||
"instvars" : [ | ||
], | ||
"name" : "TCUDayDividerMessageWrapper", | ||
"pools" : [ | ||
], | ||
"super" : "TCUMessageWrapper", | ||
"type" : "normal" } |
1 change: 1 addition & 0 deletions
1
packages/TelegramClient-UI.package/TCUInfoMessageWrapper.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
wraps TCUInfoMessage to align it in the center of chatMessageList |
5 changes: 5 additions & 0 deletions
5
packages/TelegramClient-UI.package/TCUInfoMessageWrapper.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
} } |
14 changes: 14 additions & 0 deletions
14
packages/TelegramClient-UI.package/TCUInfoMessageWrapper.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "TelegramClient-UI", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "js 7/31/2022 10:36", | ||
"instvars" : [ | ||
], | ||
"name" : "TCUInfoMessageWrapper", | ||
"pools" : [ | ||
], | ||
"super" : "TCUMessageWrapper", | ||
"type" : "normal" } |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...UUserMessage.class/instance/mouseDown..st → ...e/TCUMessage.class/instance/mouseDown..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
initialization | ||
event handling | ||
mouseDown: anEvent | ||
|
||
^ self messageModel chat selectedReplyToMessageId: self messageModel id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/TelegramClient-UI.package/TCUMessageWrapper.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
wraps TCUMessage to add profile photo in group chats and align the message depending on senderType | ||
abstract class to wrap a message to use it in chatMessageList |
Oops, something went wrong.