Commits

Ian Lewis committed 7a992c0

バグ修正

Comments (0)

Files changed (1)

skypehub/views.py

             form = PostUserMessageForm(request.POST or None)
             if form.is_valid():
                 if hasattr(skype, 'AsyncSendMessage'):
-                    skype.AsyncSendMessage(form.cleaned_data['message'])
+                    skype.AsyncSendMessage(form.cleaned_data['username'], form.cleaned_data['message'])
                 else:
                     skype.SendMessage(form.cleaned_data['username'], form.cleaned_data['message'])
                 return make_json_response({'result': 'ok'})