Skip to content

Commit

Permalink
Merge tag '2024.5.0-io.4d' into bun
Browse files Browse the repository at this point in the history
  • Loading branch information
u1-liquid committed Nov 14, 2024
2 parents 3d71895 + 5c12930 commit 8bc0d52
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "2024.5.0-io.4c",
"version": "2024.5.0-io.4d",
"codename": "nasubi",
"repository": {
"type": "git",
Expand Down
6 changes: 6 additions & 0 deletions packages/backend/src/core/EmailService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ export class EmailService {
reason: 'mx',
};
}
if (json.mx_host?.some(host => this.utilityService.isBlockedHost(meta.bannedEmailDomains, host))) {
return {
valid: false,
reason: 'mx',
};
}

return {
valid: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
} else if (ps.reportContentPattern === null) {
properties.reportContentPattern = null;
}
if (ps.forward) properties.forward = ps.forward;
if (ps.forward !== undefined) properties.forward = ps.forward;
if (ps.expiresAt) {
let expirationDate: Date | null = new Date();
const previousMonth = expirationDate.getUTCMonth();
Expand Down
6 changes: 5 additions & 1 deletion packages/frontend/src/components/MkAccountMoved.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ const props = defineProps<{
movedFrom?: string; // user id
}>();

misskeyApi('users/show', { userId: props.movedTo ?? props.movedFrom }).then(u => user.value = u);
if (props.movedTo || props.movedFrom) {
misskeyApi('users/show', {
userId: props.movedTo ?? props.movedFrom
}).then(u => user.value = u);
}
</script>

<style lang="scss" module>
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/pages/admin-user.vue
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ definePageMetadata(() => ({
<style lang="scss" module>
.ip {
display: flex;
word-break: break-all;

> :global(.date) {
opacity: 0.7;
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
sound_note: {
where: 'device',
default: { type: 'syuilo/n-aec', volume: 1 } as SoundStore,
default: { type: null, volume: 1 } as SoundStore,
},
sound_noteMy: {
where: 'device',
Expand Down
2 changes: 1 addition & 1 deletion packages/misskey-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "misskey-js",
"version": "2024.5.0-io.4c",
"version": "2024.5.0-io.4d",
"description": "Misskey SDK for JavaScript",
"types": "./built/dts/index.d.ts",
"exports": {
Expand Down

0 comments on commit 8bc0d52

Please sign in to comment.