Separate some logic
Separate some logic

RocketChat/Rocket.Chat.Cordova,RocketChat/Rocket.Chat.Cordova,RocketChat/Rocket.Chat.Cordova,RocketChat/Rocket.Chat.Cordova,Morgy93/Rocket.Chat.Cordova,Morgy93/Rocket.Chat.Cordova