Browse Source

Too many terminal bells, put the \a in the wrong spot

pull/2/head
Gregory Rudolph 5 years ago
parent
commit
45a4dd59f9
  1. 3
      main.go

3
main.go

@ -357,6 +357,7 @@ func handleMessage(api keybase.ChatAPI) { @@ -357,6 +357,7 @@ func handleMessage(api keybase.ChatAPI) {
// We are in a team
if topicName != channel.TopicName {
printToView("Feed", fmt.Sprintf("[ %s#%s ] %s: %s", channelName, topicName, msgSender, msgBody))
fmt.Print("\a")
}
break
@ -365,10 +366,10 @@ func handleMessage(api keybase.ChatAPI) { @@ -365,10 +366,10 @@ func handleMessage(api keybase.ChatAPI) {
} else {
if msgSender != channel.Name {
printToView("Feed", fmt.Sprintf("PM from @%s: %s", cleanChannelName(channelName), msgBody))
fmt.Print("\a")
}
}
fmt.Print("\a")
}
if api.Msg.Channel.MembersType == channel.MembersType && cleanChannelName(api.Msg.Channel.Name) == channel.Name {
if channel.MembersType == keybase.TEAM && channel.TopicName != api.Msg.Channel.TopicName {

Loading…
Cancel
Save