diff --git a/src/client/pages/messaging/messaging-room.message.vue b/src/client/pages/messaging/messaging-room.message.vue
index 4988b70a2..67756572f 100644
--- a/src/client/pages/messaging/messaging-room.message.vue
+++ b/src/client/pages/messaging/messaging-room.message.vue
@@ -214,6 +214,7 @@ export default Vue.extend({
width: 100%;
max-height: 512px;
object-fit: contain;
+ box-sizing: border-box;
}
> p {
diff --git a/src/server/api/endpoints/i/apps.ts b/src/server/api/endpoints/i/apps.ts
index 38299cd0d..dc74123ce 100644
--- a/src/server/api/endpoints/i/apps.ts
+++ b/src/server/api/endpoints/i/apps.ts
@@ -20,7 +20,8 @@ export const meta = {
};
export default define(meta, async (ps, user) => {
- const query = AccessTokens.createQueryBuilder('token');
+ const query = AccessTokens.createQueryBuilder('token')
+ .where('token.userId = :userId', { userId: user.id });
switch (ps.sort) {
case '+createdAt': query.orderBy('token.createdAt', 'DESC'); break;
diff --git a/src/server/api/index.ts b/src/server/api/index.ts
index 49209ede4..d69d92334 100644
--- a/src/server/api/index.ts
+++ b/src/server/api/index.ts
@@ -82,7 +82,7 @@ router.post('/miauth/:session/check', async ctx => {
AccessTokens.update(token.id, {
fetched: true
});
-
+
ctx.body = {
ok: true,
token: token.token,