Marcel Hibbe
0063fa8c10
Fix key name to upload conversation avatars
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
fdb845d298
WIP: Add conversation avatar options in conversation info
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
87c53979c4
Use avatars from server (depending on light/dark mode)
...
Placeholder avatars now also come from the server. This means themed avatars from the android app itself are no longer used here. The static placeholder icons defined in loadConversationAvatar are only used when the http request fails completely.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
ed4fa3690d
Use avatars from server (depending on light/dark mode)
...
Placeholder avatars now also come from the server. This means themed avatars from the android app itself are no longer used here. The static placeholder icons defined in loadConversationAvatar are only used when the http request fails completely.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
ad15bca8ec
WIP: use placeholders when avatar is not available
...
Problem:
i want to load avatars and if no avatar is received, i want to show the placeholder.
However with coil it's not possible to make the placeholders rounded. See https://github.com/coil-kt/coil/issues/37
I could just set the old rounded drawables that we have, but then theming wouldn't work!
So i ask myself what the best solution could be:
- Somehow check beforehand if an avatar is set at all? and then choose between loading the avatar or loading the the static drawables in their own loading request.
- Somehow check if the avatar response is empty. And if yes, make another request to load the static drawables.
- Use jetpack compose instead of coil to clip the image? See https://stackoverflow.com/questions/66014834/how-to-draw-a-circular-image-in-android-jetpack-compose
- create new svg's? Somehow it should be possible to invert a circle and just overlay it over an image..?
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:19 +02:00
Marcel Hibbe
c3b468118a
WIP: show conversation avatar
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:19 +02:00
Marcel Hibbe
60534aca61
change image picker code for activity instead controller
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:19 +02:00
Tim Krüger
f44c528b4f
Move image picker logic to new class 'PickImage'
...
This is a preparation to solve issue #2555 and centralize the image picker
functionality.
See: #2555
Signed-off-by: Tim Krüger <t@timkrueger.me>
2023-05-01 12:25:19 +02:00
Nextcloud bot
c9739e69af
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 04:40:19 +00:00
Nextcloud bot
a68569bf8b
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 04:40:00 +00:00
Nextcloud bot
1e67ec8656
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 04:37:00 +00:00
Nextcloud bot
f5fe00845d
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 04:36:40 +00:00
Nextcloud bot
0a7cffee68
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-29 04:36:28 +00:00
Nextcloud bot
51ff21cf6e
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-29 04:36:09 +00:00
dependabot[bot]
631b7eb536
Build(deps): Bump net.zetetic:android-database-sqlcipher
...
Bumps [net.zetetic:android-database-sqlcipher](https://github.com/sqlcipher/android-database-sqlcipher ) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/sqlcipher/android-database-sqlcipher/releases )
- [Commits](https://github.com/sqlcipher/android-database-sqlcipher/compare/v4.5.3...v4.5.4 )
---
updated-dependencies:
- dependency-name: net.zetetic:android-database-sqlcipher
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 01:57:35 +00:00
Nextcloud bot
4d9cb24b63
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 04:42:05 +00:00
Nextcloud bot
031c9c9d45
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 04:41:46 +00:00
Marcel Hibbe
eab052d2ac
Delete unused methods
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-26 09:53:19 +02:00
Marcel Hibbe
1e87fe9b69
Fix wrong parsing of capability values
...
This fixes bugs that were introduced with https://github.com/nextcloud/talk-android/pull/2963
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-26 09:53:19 +02:00
Andy Scherzinger
30e4698c1a
Parse value as String which should work for old values (Strings) and new Values (Boolean)
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-26 09:53:18 +02:00
Andy Scherzinger
6172b62f3f
Switch webRTC dependency to gradle dependency managed via jitpack publishings
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-26 09:02:36 +02:00
Nextcloud bot
f72d6032ff
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 04:42:55 +00:00
Nextcloud bot
0575be71aa
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 04:42:34 +00:00
Nextcloud bot
366e57afbe
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 04:32:23 +00:00
Nextcloud bot
383420f3c5
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 04:32:04 +00:00
Andy Scherzinger
cce57ebfb4
Merge pull request #2969 from nextcloud/dependabot/gradle/org.mockito-mockito-core-5.3.1
...
Build(deps): Bump org.mockito:mockito-core from 5.3.0 to 5.3.1
2023-04-24 12:20:56 +02:00
Andy Scherzinger
db4a19398d
Merge pull request #2968 from nextcloud/dependabot/gradle/okhttpVersion-4.11.0
...
Build(deps): Bump okhttpVersion from 4.10.0 to 4.11.0
2023-04-24 12:20:21 +02:00
Nextcloud bot
c2e5524600
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-24 04:44:58 +00:00
Nextcloud bot
9bfdcf3d1e
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-24 04:44:39 +00:00
dependabot[bot]
19ff9818c9
Build(deps): Bump org.mockito:mockito-core from 5.3.0 to 5.3.1
...
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v5.3.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 01:58:33 +00:00
dependabot[bot]
ca5deb37ba
Build(deps): Bump okhttpVersion from 4.10.0 to 4.11.0
...
Bumps `okhttpVersion` from 4.10.0 to 4.11.0.
Updates `com.squareup.okhttp3:okhttp` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/square/okhttp/releases )
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-4.10.0...parent-4.11.0 )
Updates `com.squareup.okhttp3:okhttp-urlconnection` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/square/okhttp/releases )
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-4.10.0...parent-4.11.0 )
Updates `com.squareup.okhttp3:logging-interceptor` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/square/okhttp/releases )
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-4.10.0...parent-4.11.0 )
---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.squareup.okhttp3:okhttp-urlconnection
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.squareup.okhttp3:logging-interceptor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 01:57:48 +00:00
Nextcloud bot
906911305a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-23 04:36:37 +00:00
Nextcloud bot
4c9c9b35bd
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-23 04:36:19 +00:00
Nextcloud bot
176ac229d7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-22 04:41:50 +00:00
Nextcloud bot
0c5143f6dd
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-22 04:41:31 +00:00
Marcel Hibbe
e362e8e3d0
Handle new capabilities json structure
...
Because of "supported-reactions" and "predefined-backgrounds" the capabilities cannot be parsed with
`var config: HashMap<String, HashMap<String, String>>?`
As a result it was not possible to login into the app.
This is now
`var config: HashMap<String, HashMap<String, @RawValue @Contextual Any>>?` while always checking for the type when accessing the values.
"supported-reactions" and "predefined-backgrounds" are not handled yet.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-21 17:29:53 +02:00
Marcel Hibbe
ae9e9924e6
Fix to open conversation list when navigating back after chat was opened by notification
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-21 13:30:25 +02:00
dependabot[bot]
78cb30db7d
Build(deps): Bump com.google.android.exoplayer:exoplayer
...
Bumps [com.google.android.exoplayer:exoplayer](https://github.com/google/ExoPlayer ) from 2.18.5 to 2.18.6.
- [Release notes](https://github.com/google/ExoPlayer/releases )
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md )
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.5...r2.18.6 )
---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 01:57:43 +00:00
Nextcloud bot
80f9e6c1d5
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 04:47:31 +00:00
Nextcloud bot
93e553b62c
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 04:47:11 +00:00
Andy Scherzinger
12a9f9b159
add support for group mentions
...
Resolves #2860
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-19 12:05:54 +02:00
Nextcloud bot
62e8b1a9ba
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 04:34:53 +00:00
Nextcloud bot
3f60066d39
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 04:34:35 +00:00
Nextcloud bot
b8c1c77f70
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 04:47:56 +00:00
Nextcloud bot
5404faf5eb
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 04:47:38 +00:00
Nextcloud bot
6849ac0c74
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 03:16:43 +00:00
Nextcloud bot
88cd50cc14
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 03:16:23 +00:00
Andy Scherzinger
1227961ad8
Merge pull request #2941 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-8.0.0
...
Build(deps): Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0
2023-04-17 10:30:27 +02:00
Nextcloud Android Bot
a2acb2610b
Weekly 16.1.0 Alpha 08
2023-04-17 03:09:46 +00:00
Nextcloud bot
50e67daec1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-16 04:32:55 +00:00
Nextcloud bot
1bf266c787
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-16 04:32:37 +00:00
Nextcloud bot
8bb74ebd55
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-15 04:37:53 +00:00
Nextcloud bot
c2c9cf7fac
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-15 04:37:34 +00:00
Andy Scherzinger
cd38c8dbb6
lint: move from resource IDs to fixed, unique Int values for view types
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-14 22:07:00 +02:00
Andy Scherzinger
f52fd59125
move array to list
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-14 20:04:22 +02:00
Andy Scherzinger
b3d03f8394
Bump to JavaVersion.VERSION_17
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-14 19:29:40 +02:00
Nextcloud bot
935cb67bce
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-14 11:52:44 +00:00
Nextcloud bot
34a0679feb
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-14 11:52:25 +00:00
Nextcloud bot
9f13dc891c
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-14 04:29:51 +00:00
Nextcloud bot
fc60ffe0d8
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-14 04:29:32 +00:00
Nextcloud bot
09369aed8c
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-13 04:39:03 +00:00
Nextcloud bot
62e08bc977
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-13 04:38:45 +00:00
dependabot[bot]
d3ae78a5e9
Build(deps): Bump org.mockito:mockito-core from 5.2.0 to 5.3.0
...
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v5.2.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 17:36:10 +00:00
Nextcloud bot
fca62b5aaf
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-12 04:38:46 +00:00
Nextcloud bot
f3e32b5552
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-12 04:38:27 +00:00
dependabot[bot]
be4d2d9ac1
Build(deps): Bump com.github.nextcloud.android-common:ui
...
Bumps [com.github.nextcloud.android-common:ui](https://github.com/nextcloud/android-common ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/nextcloud/android-common/releases )
- [Commits](https://github.com/nextcloud/android-common/compare/0.7.0...0.8.0 )
---
updated-dependencies:
- dependency-name: com.github.nextcloud.android-common:ui
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 01:57:22 +00:00
Andy Scherzinger
0464163c99
Merge pull request #2932 from nextcloud/refactoring/noid/conversationListRemoveConductor
...
Replace Controller with Activity for ConversationList
2023-04-10 09:26:14 +02:00
Nextcloud bot
15a05cde59
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-10 04:44:54 +00:00
Nextcloud bot
850edc1053
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-10 04:44:36 +00:00
Nextcloud Android Bot
a72f7ca3be
Weekly 16.1.0 Alpha 07
2023-04-10 03:11:33 +00:00
Andy Scherzinger
584947c8e3
Improve theming for toolbars
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-09 21:38:05 +02:00
Andy Scherzinger
8171391154
fix general background color
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-09 12:16:49 +02:00
Marcel Hibbe
28a235ae45
Add todos
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-09 12:16:49 +02:00
Marcel Hibbe
9c9259b730
Add temporary workarounds until conductor is removed
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-09 12:16:49 +02:00
Marcel Hibbe
1246223859
Fix to add account (temp solution until conductor is removed)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-09 12:16:49 +02:00
Marcel Hibbe
aa1e93db05
WIP. Replace Controller with Activity for ConversationList
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-09 12:16:49 +02:00
Nextcloud bot
b975e8e4bd
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-09 04:36:58 +00:00
Nextcloud bot
bb47cec225
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-09 04:36:40 +00:00
dependabot[bot]
043d33032e
Build(deps): Bump androidx.core:core-ktx from 1.9.0 to 1.10.0
...
Bumps androidx.core:core-ktx from 1.9.0 to 1.10.0.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-08 19:35:20 +00:00
Andy Scherzinger
0695c811df
Merge pull request #2927 from nextcloud/bugfix/2926/fixScrollToFirstUnreadMessage
...
Fix to scroll to first unread message
2023-04-08 21:34:29 +02:00
Nextcloud bot
3e496a8e77
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-08 04:39:20 +00:00
Nextcloud bot
b1f82fb98c
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-08 04:39:02 +00:00
Nextcloud bot
a1a8fb198c
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-07 04:39:35 +00:00
Nextcloud bot
afd7b0ac8b
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-07 04:39:16 +00:00
Nextcloud bot
36a61a085c
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-06 04:44:53 +00:00
Nextcloud bot
7587338e31
Fix(l10n): 🛠️ Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-06 04:44:29 +00:00
Marcel Hibbe
c34e656eca
Fix to scroll to first unread message
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 17:01:26 +02:00
Stefan Niedermann
8272eec07b
fix(i18n): Adjust links to transifex
...
https://help.nextcloud.com/t/transifex-announcement-web-applications-domain-change/159445
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2023-04-05 16:31:20 +02:00
Marcel Hibbe
48a4fbc3cc
Reimplement breakout rooms for usage of Activity instead of Controller
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:42 +02:00
Marcel Hibbe
68b930a0d9
remove ConductorRemapping.kt
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:42 +02:00
Marcel Hibbe
f9836da4a8
fix to start voice message playback only when activity is visible
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:42 +02:00
Marcel Hibbe
f7529446a4
remove unused item from onOptionsItemSelected
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:41 +02:00
Marcel Hibbe
9e66c3192c
fix to open chat via bottom menu
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:41 +02:00
Marcel Hibbe
da9edbce97
temporarily allow only portrait for chat until MVVM is used
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:41 +02:00
Marcel Hibbe
708beabe9d
setup adapter in onCreate + extract some functions from onResume
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:41 +02:00
Marcel Hibbe
0b0387115e
fix to open poll dialog
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
52266a5632
fix NPE when quoted message is expired or deleted
...
for now the message is shown empty. should be improved!
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.nextcloud.talk2, PID: 29567
java.lang.NullPointerException
at com.nextcloud.talk.models.json.chat.ChatMessage.getText(ChatMessage.kt:264)
at com.nextcloud.talk.adapters.messages.OutcomingTextMessageViewHolder.processParentMessage(OutcomingTextMessageViewHolder.kt:168)
at com.nextcloud.talk.adapters.messages.OutcomingTextMessageViewHolder.onBind(OutcomingTextMessageViewHolder.kt:100)
at com.nextcloud.talk.adapters.messages.OutcomingTextMessageViewHolder.onBind(OutcomingTextMessageViewHolder.kt:54)
at com.stfalcon.chatkit.messages.MessageHolders.bind(MessageHolders.java:596)
at com.stfalcon.chatkit.messages.MessagesListAdapter.onBindViewHolder(MessagesListAdapter.java:110)
at com.nextcloud.talk.adapters.messages.TalkMessagesListAdapter.onBindViewHolder(TalkMessagesListAdapter.java:50)
at com.nextcloud.talk.adapters.messages.TalkMessagesListAdapter.onBindViewHolder(TalkMessagesListAdapter.java:32)
at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7678)
at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7761)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6582)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6848)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6688)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6684)
at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2362)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1662)
at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1622)
at androidx.recyclerview.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1425)
at androidx.recyclerview.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1158)
at androidx.recyclerview.widget.RecyclerView.scrollStep(RecyclerView.java:2009)
at androidx.recyclerview.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:5789)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1301)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
at android.view.Choreographer.doCallbacks(Choreographer.java:923)
at android.view.Choreographer.doFrame(Choreographer.java:847)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
906c1f7529
fix to show avatar, fix onClick listener
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
5fc69201fe
fix to open Conversation List for onBackPressed when switched chats
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
63b2455745
remove KEY_OPEN_CHAT
...
this was temporarily used until now Chat is an Activity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00