mirror of
https://github.com/muesli/telephant
synced 2024-11-22 19:33:06 +00:00
Fixed prefixing regular tweets with an @
This commit is contained in:
parent
b134c51fb2
commit
b73193a837
1 changed files with 5 additions and 2 deletions
|
@ -88,8 +88,11 @@ Popup {
|
|||
|
||||
onClicked: {
|
||||
popup.close()
|
||||
uiBridge.tweetButton(popup.messageid,
|
||||
"@" + author + " " + messageArea.text)
|
||||
var msg = messageArea.text
|
||||
if (popup.messageid > 0) {
|
||||
msg = "@" + author + " " + msg
|
||||
}
|
||||
uiBridge.tweetButton(popup.messageid, msg)
|
||||
messageArea.clear()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue