Skip to content

Commit 12462a0

Browse files
Merge pull request #29 from sendbird/feature/jerry/fix-last-seen-bug
Fix last seen bugs
2 parents f35d497 + f53471b commit 12462a0

File tree

347 files changed

+366
-362
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+366
-362
lines changed

api/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11714,6 +11714,7 @@ components:
1171411714
is_muted:
1171511715
type: boolean
1171611716
last_seen_at:
11717+
format: int64
1171711718
type: integer
1171811719
nickname:
1171911720
type: string
@@ -12410,6 +12411,7 @@ components:
1241012411
is_blocked_by_me:
1241112412
type: boolean
1241212413
last_seen_at:
12414+
format: int64
1241312415
type: integer
1241412416
metadata:
1241512417
type: object
@@ -12509,6 +12511,7 @@ components:
1250912511
is_active:
1251012512
type: boolean
1251112513
last_seen_at:
12514+
format: int64
1251212515
type: integer
1251312516
nickname:
1251412517
type: string
@@ -19608,6 +19611,7 @@ components:
1960819611
description: "Specifies the time when the user goes offline, to indicate\
1960919612
\ when they were last online, in [Unix milliseconds](/docs/chat/v3/platform-api/guides/miscellaneous#2-timestamps)\
1961019613
\ format."
19614+
format: int64
1961119615
type: integer
1961219616
discovery_keys:
1961319617
description: "Specifies an array of unique keys of the user which is provided\

docs/SendBirdMember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
|**friendName** | **String** | | [optional] |
1313
|**isActive** | **Boolean** | | [optional] |
1414
|**isMuted** | **Boolean** | | [optional] |
15-
|**lastSeenAt** | **Integer** | | [optional] |
15+
|**lastSeenAt** | **Long** | | [optional] |
1616
|**nickname** | **String** | | [optional] |
1717
|**plainProfileUrl** | **String** | | [optional] |
1818
|**preferredLanguages** | **List<String>** | | [optional] |

docs/SendBirdSender.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
|**friendName** | **String** | | [optional] |
1313
|**isActive** | **Boolean** | | [optional] |
1414
|**isBlockedByMe** | **Boolean** | | [optional] |
15-
|**lastSeenAt** | **Integer** | | [optional] |
15+
|**lastSeenAt** | **Long** | | [optional] |
1616
|**metadata** | **Object** | | [optional] |
1717
|**nickname** | **String** | | [optional] |
1818
|**plainProfileUrl** | **String** | | [optional] |

docs/SendBirdUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ User
1414
|**accessToken** | **String** | | [optional] |
1515
|**hasEverLoggedIn** | **Boolean** | | [optional] |
1616
|**isActive** | **Boolean** | | [optional] |
17-
|**lastSeenAt** | **Integer** | | [optional] |
17+
|**lastSeenAt** | **Long** | | [optional] |
1818
|**nickname** | **String** | | [optional] |
1919
|**discoveryKeys** | **List<String>** | | [optional] |
2020
|**sessionTokens** | **List<Object>** | | [optional] |

docs/UpdateUserByIdData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
|**issueSessionToken** | **Boolean** | Determines whether to add a new session token for the user. If true, an opaque string token is issued and provided upon creation, which should be passed whenever the user logs in. If false, a session token is not required when the user logs in. (Default: false) | [optional] |
1616
|**sessionTokenExpiresAt** | **Integer** | Specifies the time for the issued session token to expire in [Unix milliseconds](/docs/chat/v3/platform-api/guides/miscellaneous#2-timestamps) format. The length should be 13. If not specified and the issue_session_token property above is true, the value of this property is set to the sum of the current timestamp and 604800000 by default, which indicates that the token will be valid for the next 7 days starting from the current timestamp. | [optional] |
1717
|**isActive** | **Boolean** | Determines whether to activate or deactivate the user within the application. | [optional] |
18-
|**lastSeenAt** | **Integer** | Specifies the time when the user goes offline, to indicate when they were last online, in [Unix milliseconds](/docs/chat/v3/platform-api/guides/miscellaneous#2-timestamps) format. | [optional] |
18+
|**lastSeenAt** | **Long** | Specifies the time when the user goes offline, to indicate when they were last online, in [Unix milliseconds](/docs/chat/v3/platform-api/guides/miscellaneous#2-timestamps) format. | [optional] |
1919
|**discoveryKeys** | **List<String>** | Specifies an array of unique keys of the user which is provided to Sendbird server for discovering friends. By using the keys, the server can identify and match the user with other users. | [optional] |
2020
|**preferredLanguages** | **List<String>** | Specifies an array of one or more [language codes](/docs/chat/v3/platform-api/guides/miscellaneous#2-language-codes-for-auto-translation) to translate notification messages to preferred languages. Up to 4 languages can be set for the user. If messages are sent in one of the preferred languages, notification messages won't be translated. If messages are sent in a language other than the preferred languages, notification messages will be translated into the first language in the array. In addition, the messages translated into other preferred languages will be provided in the `sendbird` property of a notification message payload. | [optional] |
2121
|**leaveAllWhenDeactivated** | **Boolean** | Determines whether the user leaves all joined group channels upon deactivation. Note that this value is true by default. Use in conjunction with the is_active property above. | [optional] |

src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
2626
*/
27-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
27+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T19:00:24.771175+09:00[Asia/Seoul]")
2828
public abstract class AbstractOpenApiSchema {
2929

3030
// store the actual instance of the schema/object

src/main/java/org/openapitools/client/model/AddApnsPushConfigurationData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
AddApnsPushConfigurationData.JSON_PROPERTY_APNS_TYPE
4444
})
4545
@JsonTypeName("addApnsPushConfigurationData")
46-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
46+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T19:00:24.771175+09:00[Asia/Seoul]")
4747
public class AddApnsPushConfigurationData {
4848
public static final String JSON_PROPERTY_APNS_CERT = "apns_cert";
4949
private File apnsCert;

src/main/java/org/openapitools/client/model/AddApnsPushConfigurationResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
AddApnsPushConfigurationResponse.JSON_PROPERTY_PUSH_CONFIGURATIONS
3939
})
4040
@JsonTypeName("addApnsPushConfigurationResponse")
41-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
41+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T19:00:24.771175+09:00[Asia/Seoul]")
4242
public class AddApnsPushConfigurationResponse {
4343
public static final String JSON_PROPERTY_PUSH_CONFIGURATIONS = "push_configurations";
4444
private List<AddApnsPushConfigurationResponsePushConfigurationsInner> pushConfigurations = null;

src/main/java/org/openapitools/client/model/AddApnsPushConfigurationResponsePushConfigurationsInner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
AddApnsPushConfigurationResponsePushConfigurationsInner.JSON_PROPERTY_PUSH_SOUND
4646
})
4747
@JsonTypeName("addApnsPushConfigurationResponse_push_configurations_inner")
48-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
48+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T19:00:24.771175+09:00[Asia/Seoul]")
4949
public class AddApnsPushConfigurationResponsePushConfigurationsInner {
5050
public static final String JSON_PROPERTY_ID = "id";
5151
private String id;

src/main/java/org/openapitools/client/model/AddEmojiCategoriesResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
AddEmojiCategoriesResponse.JSON_PROPERTY_EMOJI_CATEGORIES
3939
})
4040
@JsonTypeName("addEmojiCategoriesResponse")
41-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
41+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T19:00:24.771175+09:00[Asia/Seoul]")
4242
public class AddEmojiCategoriesResponse {
4343
public static final String JSON_PROPERTY_EMOJI_CATEGORIES = "emoji_categories";
4444
private List<AddEmojiCategoriesResponseEmojiCategoriesInner> emojiCategories = null;

0 commit comments

Comments
 (0)