PHPfox-Official / phpfox-v4-issues

phpFox Public Bug Tracker
https://phpfox.com
30 stars 21 forks source link

IM chat - issue if not friends - you can still chat with a non friend, if you refresh the browser ? #2961

Closed spirogg closed 3 years ago

spirogg commented 3 years ago

Important

Please follow this template!


What's happened?

... first i was friends with someone, then i unfriended that user. so i still see user in the chat - so I click on user and small chat box opens and says "you cannot message this person any longer"

Steps to reproduce:

  1. go to a friend (user) and unfriend them.
  2. now find the user in your chat and click the user.
  3. now a small chat box opens bottom of your screen, says (you no longer can chat)
  4. now please refresh your browser and now you see the small chat box is available to chat again? ( even though user is not friends)

this is a bug

What's expected?

... if you are no longer friends with anyone and you set usergroup (messages app to: friends only to chat) you should not be able to chat with that user any longer.

Browsers and Devices tested

(Example: Chrome on iPhone X, Safari on Macbook, Miscrosoft Edge on Windown 10, Firefox on Ubuntu 16.04, ...)

...chrome browser

Server information

(Example: CentOS 7, php 7.1 apache)

...centOS 7 php 7.4=3

phpFox version

(Example: phpFox 4.6.0)

...4.8.2 updated from fresh install 4.8.1

Screenshots

... settings set to friends Capture1

Capture Capture1 Capture2 Capture

harrison05 commented 3 years ago

Hi @spirogg

We will check this issue and inform you later.

Regards.

spirogg commented 3 years ago

Happens on your demo as well just FYI. Thanks

Spiro

harrison05 commented 3 years ago

We fixed this bug on IM app v4.8.1

Regards.