|
|
|
@ -212,7 +212,7 @@ func (c *Client) ProcessStatusUpdate(chatID int64, status string, show string, o
|
|
|
|
|
|
|
|
|
|
c.cache.SetStatus(chatID, show, status)
|
|
|
|
|
|
|
|
|
|
newArgs := []args.V {
|
|
|
|
|
newArgs := []args.V{
|
|
|
|
|
gateway.SPFrom(strconv.FormatInt(chatID, 10)),
|
|
|
|
|
gateway.SPShow(show),
|
|
|
|
|
gateway.SPStatus(status),
|
|
|
|
@ -331,7 +331,7 @@ func (c *Client) formatForward(fwd *client.MessageForwardInfo) string {
|
|
|
|
|
if originChat.AuthorSignature != "" {
|
|
|
|
|
signature = fmt.Sprintf(" (%s)", originChat.AuthorSignature)
|
|
|
|
|
}
|
|
|
|
|
return c.formatContact(originChat.SenderChatId)+signature
|
|
|
|
|
return c.formatContact(originChat.SenderChatId) + signature
|
|
|
|
|
case client.TypeMessageForwardOriginHiddenUser:
|
|
|
|
|
originUser := fwd.Origin.(*client.MessageForwardOriginHiddenUser)
|
|
|
|
|
return originUser.SenderName
|
|
|
|
@ -341,7 +341,7 @@ func (c *Client) formatForward(fwd *client.MessageForwardInfo) string {
|
|
|
|
|
if channel.AuthorSignature != "" {
|
|
|
|
|
signature = fmt.Sprintf(" (%s)", channel.AuthorSignature)
|
|
|
|
|
}
|
|
|
|
|
return c.formatContact(channel.ChatId)+signature
|
|
|
|
|
return c.formatContact(channel.ChatId) + signature
|
|
|
|
|
case client.TypeMessageForwardOriginMessageImport:
|
|
|
|
|
originImport := fwd.Origin.(*client.MessageForwardOriginMessageImport)
|
|
|
|
|
return originImport.SenderName
|
|
|
|
|