Commit 80afa22
committed
fix: Fix handling of deleting share from self
If a share is deleted from self and it is not a group share it was
handled as a user share. However, other types of shares can be deleted
from self (for example, circle or room shares), so user shares need to
be explicitly checked.
Note that as those other share types are not explicitly handled no entry
is added to the activity for them, but that was already the case before
(this change just prevents an exception to be thrown).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>1 parent b82df18 commit 80afa22
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | | - | |
| 829 | + | |
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
| 965 | + | |
| 966 | + | |
965 | 967 | | |
966 | 968 | | |
967 | 969 | | |
| |||
0 commit comments