flowdock / oulu

Flowdock IRC Gateway
MIT License
76 stars 16 forks source link

Fix authentication when the user has unvisited open flows #46

Closed tsilen closed 10 years ago

tsilen commented 10 years ago

User's organization might have open flows the user is not part of, but they are still returned by the api and can be joined. Previously, if such flow was the first one returned, the authentication failed in process_current_user as the user was not found from that flow.