You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# version 0.2: change hook_print callback argument type of
# displayed/highlight (WeeChat >= 1.0)
#
# 2011-08-27, ochameau <poirot.alex@gmail.com>:
# version 0.1: merge notify.py and notifo_notify.py in order to avoid
# sending notifications when channel or private buffer is
# already opened
importweechat, string, urllib, urllib2
weechat.register("notifo", "ochameau", "0.2", "GPL", "notifo: Send push notifications to your iPhone/Android about your private messages and highlights.", "", "")
credentials= {
"username": "",
"api_secret": ""
}
foroption, default_valueincredentials.items():
ifweechat.config_get_plugin(option) =="":
weechat.prnt("", weechat.prefix("error") +"notifo: Please set option: %s"%option)