GithubHelp home page GithubHelp logo

tigase / siskin-im Goto Github PK

View Code? Open in Web Editor NEW
171.0 171.0 37.0 40.25 MB

(M) Public Project of Tigase Messenger for iOS devices based on Tigase Swift XMPP library.

License: GNU General Public License v3.0

Swift 99.73% Objective-C 0.14% Shell 0.13%
apple chat client ios jabber omemo tigase voip xmpp xmpp-client

siskin-im's People

Contributors

arturhefczyc avatar hantu85 avatar mdosch avatar mimi89999 avatar qianqianluo avatar woj-tek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

siskin-im's Issues

Push notification not working

Describe the bug
Hi , Push notifications are not working ,
Is apns certificate needed to configure ? How to configure to setup apns in server

No such module 'TigaseSwift' n Framework Errors

Hello
when i run clone Project from GitHub Im getting this type of errors
No such module 'TigaseSwift'
No such module 'TigaseSwiftOMEMO'
No such module 'openssl'

that frameworks not contains in the project n it showing not properly like disable

please suggest and any help would be more appreciated ....

Allow user to change font size

Is your feature request related to a problem? Please describe.
Currently the user cannot change the font size. This is an accessibility issue, as some users cannot read the small font well or at all.

Describe the solution you'd like
Please allow the user to change the font size, either through the app settings or by supporting Dynamic Type.

[feature] add option to edit contacts name

Is your feature request related to a problem? Please describe.
While it is possible to set a name for a contact when adding it, vesion 5.7 does not allow editing that name afterwards. This is a problem a) because mistakes happen and there might be an error in the name b) existing contacts may all have their jid instead of their name and no way to adjust that information.

Describe the solution you'd like
Why not add a "Name" field to the contact informations screen?

XEP-0085: Chat State Notifications

Is your feature request related to a problem? Please describe.
Currently there is no indication when your correspondent is actively typing a message.

Describe the solution you'd like
XEP-0085 is used to notify (among other things) when somebody is currently typing:
https://xmpp.org/extensions/xep-0085.html

Would be feasible to support it? (both sending/receiving)

Describe alternatives you've considered
N/A?

Additional context
N/A

Existing bookmarks don't open/show

So I have an account that is part of some public channels and private group chats. (This translates to MUC bookmarks with autojoin enabled in Conversations and Dino.)

When I login to Siskin, I'm expecting those chats to be visible and joined automatically. Currently

  • they are not visible and joined automatically
  • there is no way to actually find those chats anywhere.

The only thing I could do was to manually join them by typing in their JIDs.

the oob image preview not working with omemo

Describe the bug
Client message encryption set to None
If the client sends an image with http upload to someone the preview is shown correctly.

Client message encryption set to Omemo
If the client sends an image with http upload to someone the preview is not shown.

To Reproduce
Steps to reproduce the behavior:

  1. set message encryption to None
  2. take a fancy picture and send it to someone
  3. they can happily enjoy the preview
  4. set message encryption to Omemo
  5. take another fancy picture and send it to someone
  6. they can not enjoy the preview

Expected behavior
The preview should be shown either way.

Screenshots
Screenshot_20190927-205736_Conversations

Smartphone (please complete the following information):

  • Device: iPhone 5s
  • OS: iOS12.4.1
  • Browser default browser

Share location and show "geo:" links

Is your feature request related to a problem? Please describe.
When traveling (or meeting) is nice to be able to share your location and to see where other people are.

Describe the solution you'd like
I'd like siskin to be able to:

  • share the device location by sending "geo:" URIs
  • show other people locations on receipt of messages containing "geo:" URIs (both as a small image/map in the chat but also opening Apple Maps - on tap? - in order to start the gps navigation)

Describe alternatives you've considered
XMPP provides some native methods (XEP-0080 + XEP-0255) but it seems a few clients already started using the "geo:" URI scheme (RFC5870).

Additional context
https://tools.ietf.org/html/rfc5870
iNPUTmice/Conversations#73 (for the rationale for "geo:" URIs instead of xep-0080)
https://monal.im/blog/4-6-betas/

Omemo keychain support

It seems that Siskin always reinitiates the remote keychain, resulting from possible other devices being remove.

Tested with Monal and Siskin on the same device.

Additionally Siskin does not request the keychain of a contact when starting a conversation. It only displays the already seen keys in the bundle.

'Create' button does not dismiss group chat creation dialog

Describe the bug
On the final stage of creating a private group chat, the 'Create' button creates the chat but does not dismiss the dialog.

The behaviour was experienced while connected to Prosody trunk, other servers have not been tested.

To Reproduce
Steps to reproduce the behavior:

  1. From the chats screen tap '+'
  2. Tap 'Create private group chat'
  3. Enter required fields and tap 'Next'
  4. Enter nickname and tap 'Create'

Expected behavior
The dialog should close and I should be taken back to the chats screen or to the new chat.

Instead it remains open, and tapping 'Create' again creates another group chat with the same name. The dialog can be dismissed through going back and then tapping 'Cancel', then the created chat(s) are visible.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: iPhone SE
  • OS: iOS 13.5.1

siskin does not register

New siskin installation will not register with desired server.

I installed siskin, and then attempted to register account on well known compliant server. App fails saying server can not be found.

I expected siskin to register on the desired server.

Proper support of OMEMO group chats

As far as I know, Siskin does not yet support OMEMO group chats properly. That is however important in order to undoubtedly recommend it in the future to the general apple friend.

Keyboard overlay blocks input field

Hi!

I must say I really starting to like the client! It is really improving the last couple of versions! Keep up the good work! I found one really enjoying bug. I use an iPhone 5SE. And if I want to input something in can't in the lowest input field. See screencast.

My Movie

Make it easy to report a problem in Siskin/Stork/Beagle

To improve the situation for XMPP clients on IOS (and other platforms) I think it would be good to have more qualified user feedback.
For this it would be good to have a bug reporting option within the client that sends all information you need to track down the reported issue, i.e. with a log file. You could add a "Report a problem" item under "More" button and below "Settings" section. This could open a text input field for a short description of the issue the user is facing. Maybe the user can also provide a contact address like mail or JID.
These reports should be send to one of your servers and not directly uploaded as issue on Github because it may contain sensitive information such as JIDs. Passwords shouldn't be logged, of course.
Basically sending the problem report can be implemented by sending the report to a special JID using http_upload. This can then generate a mail with a download link for you devs.

Automatic image compression

Is your feature request related to a problem? Please describe.
When I send images from an iPhone (either from gallery or photos) they're very big (~4 MB). It would be nice if they were automatically compressed.

Describe the solution you'd like
Compress all images so they're max 500 KiB. This could be configurable in the settings.

Describe alternatives you've considered
Manual compression of images, or waiting for super-long upload speeds.

Additional context
N/A

Display captcha when registering new account

Some XMPP servers require solving a captcha before creating a new account.

The captcha is not shown in Siskin, instead the user sees a fallback message containing a URL where the captcha is visible:

If you don't see the CAPTCHA image here, visit the the web page.
CAPTCHA web page : https://xmpp.provider.net/captcha/xxxxx.png

The user has to copy-paste the URL in a web browser ant then come back to Siskin to finish the registration. Such process is very crippling. Please make it possible to view the captcha directly in Siskin.

Some hints:

Difficult to see profile picture placeholder with dark theme

Describe the bug
Context: I've just created an account. After successful login, I would like to customize my account by setting a profile picture (avatar). While using a dark theme on iOS, the location for the photo is almost impossible to detect (cf. screenshot below).

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on the account in the ACCOUNTS section
  3. Click on the account name
  4. Try to find where to choose your profile picture

Expected behavior
Make some default avatar which would help user to find how to change it?

Screenshots
siskin_edit_profile_no_placeholder_picture
Smartphone (please complete the following information):

  • Device: iPad
  • OS: 13.4.1
  • Browser safari
  • Version the one shipped with 13.4.1
  • Siskin 6.0 from TestFlight

To be able to search Chats

Is your feature request related to a problem? Please describe.
On BeagleIM you are able to search for a message. This is really useful functionality. It would be great to have this functionality also in SiskimIM.

[feature] UI option to set custom server port

Would it be possible to add a customizable server port option to "Add account" and/or "Change account settings" dialogs to facilitate connections to servers running on non-standard ports?

The tigase-swift library already supports it, but there just is no UI setting for it. I tried to add such setting a few years ago when I decided to use tigase-messenger/siskin-im, but ultimately I ended up on hard-coding tigase-swift to lookup and set correct port for my server.

OMEMO information in docs

I cannot find any information about OMEMO in the documentation.

I am trying to guide a friend with iphone 8+ and iOS 13.3 to connect with me. I am using Gajim, Profanity, converse.js.

OMEMO fingerprints for the other party cannot be found by any of my clients.

Also, documentation makes no mention of "encryption" or "OMEMO" so don't know where to tell the other party to look for settings to turn on OMEMO, or to inspect own keys.

A recipe at a minimum would be nice.

Thanks.

Module 'TigaseSwift' was created for incompatible target x86_64-apple-macos10.11

Hello,

I've downloaded the project from github and trying to run the code.

I'm getting these error No such module 'TigaseSwift' . then I downloaded the TigaseSwift framework from this link(https://github.com/tigase/tigase-swift) and added the project. Now I'm getting below error.

/Users/raju/Documents/siskin-im-master/SiskinIM/vcard/VCardEditAddressTableViewCell.swift:23:8: Module 'TigaseSwift' was created for incompatible target x86_64-apple-macos10.11: /Users/raju/Documents/siskin-im-master/TigaseSwift.framework/Modules/TigaseSwift.swiftmodule/x86_64.swiftmodule

Thanks

Message Carbons: Siskin shows notifications for messages send from account in annother client (e.g. Monal)

Describe the bug
When I send a message from Monal, Siskin notifies me on my own sent messages.

To Reproduce
Steps to reproduce the behavior:

  1. Have Siskin and another XMPP app like Monal installed.
  2. Have the same account active in both apps.
  3. Send a message from the non-Siskin app
  4. Get a notification on your own message from Siskin.

Expected behavior
No notification (neither my nor others messages, if Siskin is in the background)

Smartphone

  • Device: iPhone 5s
  • OS: iOS 12..4.8

Additional context
Monal Beta 4.7 (633)

Siskin only receives groupchat invitations when online

I sent an invitation to a groupchat to a contact with Siskin 5.8.1 and although he was shown to me as a member he told me he didn't receive any invitation or message from that group chat.
The device used for sending the invitation was Conversations 2.8.9+fcr (fdroid version) on lineageos 16.0-20200719 on a klte and the server prosody trunk nightly build 1315 2020-07-25 05fefde93036 on Debian Buster. I'll report the iOS version as soon as I know it.

To Reproduce
Steps to reproduce the behavior:

  1. Send an invitation for a groupchat to a Siskin contact while Siskin is offline
  2. Send messages to that groupchat
  3. Let the Siskin contact go online
  4. He sees no groupchats messages nor an invitation
  5. Send the groupchat invitation while he is online
  6. He'll receive the invitation and can join the group

Expected behavior
The invitation should be shown as soon as Siskin comes online. This is escpecially important as it seems iOS is killing the app aggressively as it goes offline pretty quick if the contact is not keeping it open.

Video rendering issue in video call

Describe the bug
I’m facing an issue in video call rendering using Siskin-IM. I followed below steps:

To Reproduce
STEP: 1

  1. I downloaded the latest source code from https://github.com/tigase/siskin-im (master branch). I resolved issues related to missing libraries. I added https://github.com/tigase/tigase-swift-omemo (master branch) through “Swift package” and OpenSSL. After resolving missing library issues I found errors in some classes like:

a ) AccountSettingsViewController -> “Expression type '()' is ambiguous without more context” (updateView  /archivingSwitchChangedValue functions)
b ) CustomChatManager -> “Value of type 'ChatStore' has no member 'getChat’”
c ) DBChatStoreWrapper -> “Type 'DBChatStoreWrapper' does not conform to protocol 'ChatStore’”
d ) DBRoomsManager -> “Property 'store' with type 'DBChatStore' cannot override a property with type 'RoomStore'”  

And many more errors and that source code didn’t work for me.

STEP: 2

  1. I downloaded source code https://github.com/tigase/siskin-im/tree/mix (mix branch). I resolved issues related to missing libraries. I added https://github.com/tigase/tigase-swift-omemo (master branch) through “Swift package” and OpenSSL. I can generate build using this source code and I can install this app on my iPhone. Now I’m facing a video rendering issue while making a video call. Audio is working fine but I can't see anything from the other side. I need your help and guidance to resolve this issue. Please correct me if I’m missing anything or doing anything wrong.

Smartphone (please complete the following information):
 - Device: iPhone 8
 - OS: iOS 13.1.2

Screenshots
IMG_0451

Expected behaviour
 - when I make a video call I could see video from the other side and vice versa.

Upload Failed: Feature not supported by XMPP Server

Describe the bug
User tried to upload file via a prosody xmpp server with an external component upload service. Siskin reports the feature is not supported. Other clients have no issue.

To Reproduce
Steps to reproduce the behavior:

  1. Upload file to another user via prosody with external upload service component.

Expected behavior
File is uploaded.

Smartphone (please complete the following information):

  • Device: iPhone8

Notification counter are not synced between devices

Is your feature request related to a problem? Please describe.
I use both BeagleIM and SiskimIM. If I read my message for example on BeagleIM then my message counter goes nice to zero if I read all the messages. But my message counter on SiskimIM is then not updated.

Describe the solution you'd like
Is it possible to sync the unread message counter between BeagleIM and SiskimIM. I don't know if this is possible with the current XEP's.

Display own JID in QR code format including OMEMO fingerprints

Is your feature request related to a problem? Please describe.
I'd like to scan a friend's JID to confirm their own OMEMO fingerprints.

Describe the solution you'd like
Other clients encode JID with OMEMO fingerprints as a QR code that can be scanned by other devices.

The QR code contains the following info:

xmpp:[email protected]?omemo-sid-820222489=b1bd7615afd947335a8edce8b4bd45e0b8fa2938630c163df7094e1a286ecf6e;omemo-sid-1926933071=f723c4e2fea491b7246a5f2998de35510d470a5e5de79136ff81b22889194a56

Describe alternatives you've considered
Checking fingerprints letter after letter to make sure they're correct.

Additional context
That's how it is presented in a different client:
6f9163b4_MG81kuvi8WLkJKF77f8GQnW5igIA1rG4n8STuLhCcuY

MUC chat's are not bookmarked / saved when adding MUC

Describe the bug
When I add a MUC to BeagleIM then the behaviour should that it is bookmarked. If I open then my SiskimIM the chat should appear there. This is not the behaviour that I experience. The chat appears in BeagleIM but not in SiskimIM.

To Reproduce
Steps to reproduce the behaviour:

  1. Add a MUC in BeagleIM;
  2. Open SiskimIM the MUC should be appearing here now;

Expected behaviour
The MUC should appear in SiskimIM.

Smartphone (please complete the following information):

  • Device: Iphone 11
  • OS: IOS 13.0
  • Version 5.7

Additional context
In the past, it worked better. I think it has something to do with the fix in #14. We use Ejabberd 19.05.

Account picker in Share context is empty

Describe the bug
When sharing an image from the gallery and selecting Siskin, a window pops up that has a text field and 2 items: "Accounts" and "Recipients".

(1) There should not be "Accounts" if the user has only one account.
(2) "Acounts" shows an empty list, this is a bug.
(3) Recipients doesn't work. I think this is only the case because no account has been selected, but it's back UX to just have an item that does nothing at all.

Screenshots
WhatsApp Image 2020-01-08 at 12 03 28

Smartphone (please complete the following information):

  • Device: iPhone 8
  • OS: [e.g. iOS8.1]

SiskinIM crashes when private chat of MUC is in contact list

Describe the bug
When you receive a private message from within a MUC a new chat with the address of the MUC is created, e.g. [email protected].
Trying to join that MUC is crashing SiskinIM.

To Reproduce
Steps to reproduce the behavior:

  • have a private message from a MUC you haven't currently joined in SiskinIM, e.g. by asking someone to send you a private message in that MUC.
  • this should open a new chat in Siskin with address of the MUC
  • now try to join the MUC by tapping on the "+" and "Join group chat" and enter the appropriate settings.
  • when tapping on Join, Siskin crashes.

Expected behavior
Well, not crashing of course... ;-)
Maybe check against addresses of existing chats and act accordingly...

XEP-0384: OMEMO Encryption 0.4.0+

Can you update the XEP-0384: OMEMO Encryption support to 0.4.0+?

And XEP-0454: OMEMO Media sharing:

Diff Tool:

PS: Not sure that 0.3.0 was complete before:

Upload Failed: Feature not supported by XMPP Server

Describe the bug
When I want to send a picture to one of my contacts, I get the message:

Upload Failed
Feature not supported by XMPP Server

To Reproduce
Steps to reproduce the behavior:

  1. Go to the paper clip symbol
  2. Click on Select Photo
  3. Select Picture
  4. See error

Expected behavior
Picture should be uploaded and send to the server.
The server (Prosody 0.11.5-1~buster6) is configured for HTTP upload and other clients like chat secure support the upload of files.

Desktop (please complete the following information):

  • OS: macOS Catalina

Smartphone (please complete the following information):

  • Device: iPhone10
  • OS: iOS13.4.1

some issues with mobile app

Device: iPhone 8, iPhone SE, software version 13.3.1
Siskin IM version: 5.8.1

  1. don`t connect to the Tigase server in VPN (LT2P + preshared key) (VPN option - "send all traffic" is ON). VPN apply exactly my internal DNS (i have checked on the laptop via cmd -> ipconfig /all)
  2. APP unexpectedly close if VPN is ON (click on any menu or button)
  3. option "clear chat on close" - is not working (reopen the app, restart the phone - history don`t delete)
  4. address book is not working (I have allowed access to phone address book. have created some accounts (field: instant message)). But I don`t see these users in the app

Be able to select a MUC trough MUC overview

Is your feature request related to a problem? Please describe.
On BeagleIM it is possible to get an overview of the available MUC chat groups. It would be really nice if the same functionality also became available in SiskimIM. In the current version, it is kind of hard to add a MUC. You need to remember the name and then type it manually.

Describe the solution you'd like
If you get an overview of the available MUC chat like in BeagleIM it is much easier to add a MUC chat.

App crashes when I try to open a group chat

Describe the bug
I joined a groupchat ([email protected]). When I open the chat the app crashes.
When I restart the app, I see that the new messages get loaded and I get notification, but when I try to open again the group app crashes again.

This happens only on this group chat. On different chats on the same server no problems.

Smartphone (please complete the following information):

  • Device: iPhone XS Max
  • OS: 13.5.1
  • Browser stock browser

Log from Server

2020-07-22 08:17:10.402 [info] <0.27821.3>@ejabberd_c2s:process_auth_result:270 (tls|<0.27821.3>) Accepted c2s SCRAM-SHA-1 authentication for [email protected] by sql backend from ::ffff:46.114.104.115
2020-07-22 08:17:10.512 [info] <0.27821.3>@ejabberd_c2s:bind:434 (tls|<0.27821.3>) Opened c2s session for [email protected]/Pinetree
2020-07-22 08:17:10.540 [info] <0.27816.3>@ejabberd_c2s:process_terminated:294 (tls|<0.27816.3>) Closing c2s session for [email protected]/Pinetree: Stream closed by local host: Replaced by new connection (conflict)
2020-07-22 08:17:14.715 [info] <0.367.0>@ejabberd_listener:accept:256 (<0.27822.3>) Accepted connection [2a01:238:42b4:2600:a44f:27fe:6a8a:cd3c]:59126 -> [2a01:4f8:c2c:abe8::1]:5269
2020-07-22 08:17:14.959 [info] <0.27822.3>@ejabberd_s2s_in:handle_auth_success:183 (tls|<0.27822.3>) Accepted inbound s2s EXTERNAL authentication jabber.de -> conference.anoxinon.me (2a01:238:42b4:2600:a44f:27fe:6a8a:cd3c)
2020-07-22 08:17:14.982 [info] <0.27821.3>@mod_stream_mgmt:transition_to_pending:458 (tls|<0.27821.3>) Closing c2s connection for [email protected]/Pinetree: Connection failed: connection closed; waiting 90 seconds for stream resumptio

Siskin fails to discover OMEMO keys from Beagle and vice versa

Describe the bug

I am trying to use ChatSecure, Pidgin with Lurch, Siskin and Beagle for OMEMO-encrypted conversations. For some reason, Siskin and Beagle appear to behave in an incompatible way when synchronising OMEMO keys:

  • Beagle sees all the keys except for that of Siskin.
  • Similarly, Siskin fails to see the key of Beagle.
  • Lurch only sees the key of ChatSecure.
  • ChatSecure sees all the keys, but at every start it marks the keys of Siskin and Beagle as untrusted with reason "Removed by server".

I am not sure if this bug report should be duplicated in Beagle issue tracker as well.

Desktop (please complete the following information):

  • OS X 10.14.5
  • Beagle 3.4

Smartphone (please complete the following information):

  • iOS 13.2.3
  • Siskin 5.4

Push Notifications fail to enable

Describe the bug
When trying to enable Push Notification on an XMPP server that supports XEP-0357 Push Notifications, Siskin reports "It was not possible to contact push notification component: undefined-condition"

To Reproduce
Steps to reproduce the behavior:

  1. Go to an account in Siskin
  2. Toggle Enabled for Push Notifications
  3. Wait for the error message to appear after approx 60 seconds.

Expected behavior
Expected behavior is for Push Notifications to be enabled and to work.

Smartphone (please complete the following information):

  • Device: iPhone 8
  • OS: iOS 13.4.1

Additional context
Using Openfire 4.5.1.

Unable to delete accounts

Describe the bug
I have added several XMPP accounts and wish to delete some of them. If there is an option to delete the accounts, I cannot find it. Moreover, account information persists even after uninstalling and reinstalling the app.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Accounts
  2. Attempt to find any way to delete one

Expected behavior
You'd expect to have an option to delete an account.

Smartphone (please complete the following information):

  • Device: iPhone 8
  • OS: iOS 13.4.1

iOS Siskin.im app wont connect

Describe the bug
Siskin.im worked fine until a couple of weeks ago for some reason its stuck and wont connect to my account but the app works just fine on my ipad, if i delete the app and reinstall it on my phone my account is still in the app and if i swipe to delete it a pop says that in order for me to remove the account i have to disable push but i cant because the app wont connect.
2B4AC3E3-0D92-4D33-80FA-3803A73D1DF9
3CF60C5F-57FC-42AD-8792-D4203445AAA9

Iphone 11 pro max
Ios 13.3.1
Safari

Chatsecure works just fine on my phone what i been using since siskin is down right now please fix this issue

Message counter by unread message is not visible

Describe the bug
Message counter by the unread message is not visible. If you see the badge icon you see for example 10 unread messages. If you open the app you see the same counter in the menu below. But you don't know with channel the unread message belongs to.

To Reproduce
Steps to reproduce the behaviour:

  1. Open the Siskim.IM APP. Make sure you have some unread messages.

Expected behaviour
You want to have a message counter with the unread message by each channel.

Screenshots
I added a screenshot to make it more clear.
IMG_1329

Smartphone (please complete the following information):

  • Device: Iphone 11
  • OS: IOS 13.0
  • Version 5.7

Additional context
Add any other context about the problem here.

"Push notifications when in away" option greyed out

Describe the bug
I would like to receive push notifications even when the app is in the background.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings
  2. Try to activate "Push Notifications When in Away/XA/DND state"

Expected behavior
I should be able to activate the option.

Screenshots

System:

  • Client: iOS, iPhone
  • Server: prosody supporting XEP 0257
  • No problems with the Conversations (Android) client

Additional context
It would be great to get push notifications even when the screen is locked, as whatsapp or Conversation (Android) does.

Notifications don't work in MUC

Describe the bug
Notifications don't work in MUC

To Reproduce
Steps to reproduce the behaviour:

  1. Let member send a message in MUC chat.
  2. Now you should get a notification on your iPhone.

Expected behaviour
You don't get a notification only when you open Siskim.

Smartphone (please complete the following information):

  • Device: Iphone 11
  • OS: IOS 13.0
  • Version 5.7

Display message errors in chat log

When delivery of a message fails, this is not visible to the user. However, it would be much better to have an indication that the message was not delivered.

This indication should NOT be displayed if a Receipt has been received for that message already, and it should be reset if a Receipt arrives after the fact.

This is how it looks in yaxim:
image

P.S: you can test the behavior by sending messages to xmpp:[email protected]

prosody: Client not woken up by push notification after going offline

Describe the bug

First of all, this could be caused either by prosody not properly processing and sending push events or by Siskin.im not properly registering as a push service. So this needs expertise from both sides.

After Siskin.im gets terminated in the background and thus disconnects from the server, it is not properly woken up when new messages arrive.
Push messages have been activated in the account settings.

To Reproduce
Steps to reproduce the behavior:

  1. Connect a siskin.im iOS client to a prosody with mod_cloud_notify and mod_smacks enabled
  2. Enable push notifications in the client's account settings.
  3. Write a message to that account while it is still online and observe the debuglog to see mod_cloud_notify working and connecting to push.tigase.im
  4. Put the client into background an wait for it to (forcibly) go offline.
  5. Write another message to the account.

Expected behavior
The suspended client should be woken up by a push message and reconnect.

Smartphone (please complete the following information):

  • Device: iPhone 8+
  • OS: iOS 13.4.1

Additional context

The bug report on the prosody side contains detailed server logs for this issue. https://issues.prosody.im/1544

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.