zom / Zom-iOS-XMPP

THIS PROJECT IS NOW CLOSED. WE HAVE MOVED TO A NEW ZOM 2.0 MATRIX CORE. FOLLOW THE LINK!
https://github.com/zom/zom-ios-matrix
Mozilla Public License 2.0
37 stars 23 forks source link

In 'Add friend' view, auto-add '@home.zom.im' when friends are manually entered #606

Closed cstiens closed 6 years ago

cstiens commented 6 years ago

@N-Pex We've discussed this briefly. In the 'add friends' view, if someone only enters a name (ex: carrie) and no server (ex: @home.zom.im), will you add the logic to automatically add the '@home.zom.im' to the entry, so that the user has a better chance of actually adding someone?

Let me know if you have questions. We do this on Android already.

tladesignz commented 6 years ago

@N-Pex: In a first attempt, I hardcoded "@home.zom.im". That seems not like the best idea. Is there a better way? There's a file "servers.json". How to tap into this? I already checked OTRBranding. Unfortunately, there's no value to use, there.

tiffrobo commented 6 years ago

In and working!

Device: iPhone 7, iPad OS: 11.2.2, 10.3.2 App version: build 131